org.beanmaker.conf
Class SAXConfigurationBuilder

java.lang.Object
  |
  +--org.xml.sax.HandlerBase
        |
        +--org.beanmaker.conf.SAXConfigurationBuilder
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class SAXConfigurationBuilder
extends org.xml.sax.HandlerBase

SAXConfigurationBuilder is the class that builds the SAX parser.


Constructor Summary
SAXConfigurationBuilder()
           
 
Method Summary
 void characters(char[] ch, int start, int len)
          Receive notification of character data.
 void endElement(java.lang.String name)
          Receive notification of the end of an element.
 Configuration getConfiguration()
          Return the parsed configuration tree.
 void startDocument()
          Receive notification of the beginning of a document.
 void startElement(java.lang.String name, org.xml.sax.AttributeList atts)
          Receive notification of the beginning of an element.
 
Methods inherited from class org.xml.sax.HandlerBase
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXConfigurationBuilder

public SAXConfigurationBuilder()
Method Detail

getConfiguration

public Configuration getConfiguration()
Return the parsed configuration tree.


startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList atts)
                  throws org.xml.sax.SAXException
Receive notification of the beginning of an element.

Specified by:
startElement in interface org.xml.sax.DocumentHandler
Overrides:
startElement in class org.xml.sax.HandlerBase
org.xml.sax.SAXException

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Receive notification of the beginning of a document.

Specified by:
startDocument in interface org.xml.sax.DocumentHandler
Overrides:
startDocument in class org.xml.sax.HandlerBase
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int len)
Receive notification of character data.

Specified by:
characters in interface org.xml.sax.DocumentHandler
Overrides:
characters in class org.xml.sax.HandlerBase

endElement

public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
Receive notification of the end of an element.

Specified by:
endElement in interface org.xml.sax.DocumentHandler
Overrides:
endElement in class org.xml.sax.HandlerBase
org.xml.sax.SAXException


Copyright © 2002 Giovanni Martone.