Home » Struts-1.3.10 » org.apache.struts » tiles » xmlDefinition » [javadoc | source]
org.apache.struts.tiles.xmlDefinition
public class: XmlParser [javadoc | source]
java.lang.Object
   org.apache.struts.tiles.xmlDefinition.XmlParser
Parse an XML definitions file.
Field Summary
protected  Digester digester    Associated digester. 
protected  boolean validating    Should we use a validating XML parser to read the configuration file. Default is false
protected  String[] registrations    The set of public identifiers, and corresponding resource names for the versions of the configuration file DTDs we know about. There MUST be an even number of Strings in this list! 
Constructor:
 public XmlParser() 
Method from org.apache.struts.tiles.xmlDefinition.XmlParser Summary:
initDigester,   main,   parse,   setValidating
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.tiles.xmlDefinition.XmlParser Detail:
 protected  void initDigester(Digester digester) 
    Init digester.
 public static  void main(String[] args) 
    Main method to check file syntax.
 public  void parse(InputStream in,
    XmlDefinitionsSet definitions) throws IOException, SAXException 
    Parse input reader and add encountered definitions to definitions set.
 public  void setValidating(boolean validating) 
    Set digester validating flag.