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.
|
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, toStringpublic 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–2025 Apache Software Foundation. All rights reserved.