org.apache.struts.tiles.xmlDefinition
public class XmlDefinition extends ComponentDefinition
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
inherit
Extends attribute value.
|
private boolean |
isVisited
Used for resolving inheritance.
|
protected static org.apache.commons.logging.Log |
log
Commons Logging instance.
|
ACTION, attributes, controller, CONTROLLER, controllerType, name, path, role, URL
Constructor and Description |
---|
XmlDefinition()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(XmlAttribute attribute)
Add an attribute to this component.
|
java.lang.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(java.lang.String name)
Set extends.
|
void |
setIsVisited(boolean isVisited)
Set isVisited.
|
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
private java.lang.String inherit
protected static org.apache.commons.logging.Log log
private boolean isVisited
public void addAttribute(XmlAttribute attribute)
attribute
- Attribute to add.public void setExtends(java.lang.String name)
name
- Name of the extended definition.public java.lang.String getExtends()
public boolean isExtending()
public void setIsVisited(boolean isVisited)
public void resolveInheritance(XmlDefinitionsSet definitionsSet) throws NoSuchDefinitionException
NoSuchDefinitionException
- If an inheritance can not be solved.public void overload(XmlDefinition child)
child
- Child used to overload this definition.Copyright ? 2000-2014 - The Apache Software Foundation