Home » Struts-1.3.10 » org.apache.struts » tiles » xmlDefinition » [javadoc | source]
public class: XmlDefinition [javadoc | source]

All Implemented Interfaces:

A definition read from an XML definitions file.
Field Summary
protected static  Log log    Commons Logging instance. 
Fields inherited from org.apache.struts.tiles.ComponentDefinition:
log,  name,  path,  attributes,  role,  controller,  controllerType,  URL,  CONTROLLER,  ACTION
 public XmlDefinition() 
Method from org.apache.struts.tiles.xmlDefinition.XmlDefinition Summary:
addAttribute,   getExtends,   isExtending,   overload,   resolveInheritance,   setExtends,   setIsVisited
Methods from org.apache.struts.tiles.ComponentDefinition:
createController,   createControllerFromClassname,   getAttribute,   getAttributes,   getController,   getControllerInstance,   getControllerType,   getName,   getOrCreateController,   getPage,   getPath,   getRole,   getTemplate,   put,   put,   put,   put,   putAttribute,   setController,   setControllerClass,   setControllerInstance,   setControllerType,   setControllerUrl,   setName,   setPage,   setPath,   setRole,   setTemplate,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.tiles.xmlDefinition.XmlDefinition Detail:
 public  void addAttribute(XmlAttribute attribute) 
    Add an attribute to this component.
 public String getExtends() 
    Get extends.
 public boolean isExtending() 
    Get extends flag.
 public  void overload(XmlDefinition child) 
    Overload this definition with passed child. All attributes from child are copied to this definition. Previous attributes with same name are disguarded. Special attribute 'path','role' and 'extends' are overloaded if defined in child.
 public  void resolveInheritance(XmlDefinitionsSet definitionsSet) throws NoSuchDefinitionException 
    Resolve inheritance. First, resolve parent's inheritance, then set path to the parent's path. Also copy attributes setted in parent, and not set in child If instance doesn't extend anything, do nothing.
 public  void setExtends(String name) 
    Set extends.
 public  void setIsVisited(boolean isVisited) 
    Set isVisited.