Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.xml
Class SAXConfigurationBuilder  view SAXConfigurationBuilder download SAXConfigurationBuilder.java

java.lang.Object
  extended byorg.xml.sax.HandlerBase
      extended byorg.jdbf.engine.xml.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.


Field Summary
private  org.jdbf.engine.configuration.Configuration root
          root of this configuration
private  java.util.Stack stack
          Stack object
 
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.
 org.jdbf.engine.configuration.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
 

Field Detail

root

private org.jdbf.engine.configuration.Configuration root
root of this configuration


stack

private java.util.Stack stack
Stack object

Constructor Detail

SAXConfigurationBuilder

public SAXConfigurationBuilder()
Method Detail

getConfiguration

public org.jdbf.engine.configuration.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.


startDocument

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


characters

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


endElement

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