org.apache.struts.tiles.xmlDefinition
Class XmlDefinitionsSet
java.lang.Object
org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet
public class XmlDefinitionsSet
extends java.lang.Object
A set of definitions read from XML definitions file.
definitions
protected Map definitions
Defined definitions.
XmlDefinitionsSet
public XmlDefinitionsSet()
Constructor.
extend
public void extend(XmlDefinitionsSet child)
Add definitions from specified child definitions set.
For each definition in child, look if it already exists in this set.
If not, add it, if yes, overload parent's definition with child definition.
child
- Definition used to overload this object.
getDefinition
public XmlDefinition getDefinition(String name)
Get requested definition.
getDefinitions
public Map getDefinitions()
Get definitions map.
putDefinition
public void putDefinition(XmlDefinition definition)
Put definition in set.
definition
- Definition to add.
toString
public String toString()
Get String representation.
Copyright B) 2000-2007 - The Apache Software Foundation