| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.tiles.ComponentDefinition
org.apache.struts.tiles.xmlDefinition.XmlDefinition
public class XmlDefinition
A definition read from an XML definitions file.
| Field Summary | |
|---|---|
protected static Log | 
log
Commons Logging instance.  | 
| Fields inherited from class org.apache.struts.tiles.ComponentDefinition | 
|---|
ACTION, attributes, controller, CONTROLLER, controllerType, name, path, role, URL | 
| 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.  | 
| Methods inherited from class 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 inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected static Log log
| Constructor Detail | 
|---|
public XmlDefinition()
| Method Detail | 
|---|
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.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||