public class XmlDefinition extends ComponentDefinition
Modifier and Type | Field and Description |
---|---|
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.
|
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.
|
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
public void addAttribute(XmlAttribute attribute)
attribute
- Attribute to add.public void setExtends(String name)
name
- Name of the extended definition.public 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–2017 Apache Software Foundation. All rights reserved.