Home » Struts-1.3.10 » org.apache.struts » tiles » xmlDefinition » [javadoc | source]
org.apache.struts.tiles.xmlDefinition
public class: DefinitionsFactory [javadoc | source]
java.lang.Object
   org.apache.struts.tiles.xmlDefinition.DefinitionsFactory

All Implemented Interfaces:
    Serializable

A factory for definitions. This factory allows to retrieve definitions by their keys.
Field Summary
protected  Map definitions    Underlying map containing all definitions. 
Constructor:
 public DefinitionsFactory(XmlDefinitionsSet xmlDefinitions) throws NoSuchDefinitionException 
    Parameters:
    xmlDefinitions - Resolved definition from XmlDefinitionSet.
    Throws:
    NoSuchDefinitionException - If an error occurs while resolving inheritance
Method from org.apache.struts.tiles.xmlDefinition.DefinitionsFactory Summary:
getDefinition,   putDefinition,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.tiles.xmlDefinition.DefinitionsFactory Detail:
 public ComponentDefinition getDefinition(String name,
    ServletRequest request,
    ServletContext servletContext) throws NoSuchDefinitionException, DefinitionsFactoryException 
    Get a definition by its name.
 public  void putDefinition(ComponentDefinition definition) 
    Put definition in set.
 public String toString() 
    Return String representation.