org.apache.fop.configuration
Class ConfigurationParser

org.apache.fop.configuration.ConfigurationParser

public class ConfigurationParser

SAX2 Handler which retrieves the configuration information and stores them in Configuration. Normally this class doesn't need to be accessed directly.


Constructor Summary
ConfigurationParser()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          extracts characters from text nodes and puts them into their respective variables
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          stores subentries or entries into their hashes (map for subentries, configuration for entry)
 void setDocumentLocator(org.xml.sax.Locator locator)
          get locator for position information
 void startDocument()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          extracts the element and attribute name and sets the fitting status and datatype values
 

Constructor Detail

ConfigurationParser

public ConfigurationParser()
Method Detail

startDocument

public void startDocument()

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)
get locator for position information

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
extracts the element and attribute name and sets the fitting status and datatype values

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
stores subentries or entries into their hashes (map for subentries, configuration for entry)

characters

public void characters(char[] ch,
                       int start,
                       int length)
extracts characters from text nodes and puts them into their respective variables


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.