org.apache.struts.tiles.xmlDefinition
public class XmlDefinition extends ComponentDefinition
| Field Summary | |
|---|---|
| String | inherit
Extends attribute value. |
| boolean | isVisited
Used for resolving inheritance. |
| protected static Log | log Commons Logging instance. |
| Constructor Summary | |
|---|---|
| XmlDefinition()
Constructor. | |
| Method Summary | |
|---|---|
| void | addAttribute(XmlAttribute attribute)
Add an attribute to this component.
|
| String | getExtends()
Get extends.
|
| boolean | isExtending()
Get extends flag.
|
| void | overload(XmlDefinition child)
Overload this definition with passed child.
|
| void | resolveInheritance(XmlDefinitionsSet definitionsSet)
Resolve inheritance.
|
| void | setExtends(String name)
Set extends.
|
| void | setIsVisited(boolean isVisited)
Set isVisited.
|
Parameters: attribute Attribute to add.
Returns: Name of the extended definition.
Parameters: child Child used to overload this definition.
Throws: NoSuchDefinitionException If an inheritance can not be solved.
Parameters: name Name of the extended definition.