org.planx.xmlstore.nodes
Class DVMHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.planx.xmlstore.nodes.DVMHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class DVMHandler
extends DefaultHandler


Constructor Summary
DVMHandler()
           
DVMHandler(NodeListener listener)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void clear()
          Releases all ressources held by the handler.
 void endDocument()
           
 void endElement(String uri, String localName, String qName)
           
 SystemNode getRoot()
           
 void startDocument()
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DVMHandler

public DVMHandler()

DVMHandler

public DVMHandler(NodeListener listener)
Method Detail

getRoot

public SystemNode getRoot()

clear

public void clear()
Releases all ressources held by the handler. The handler should not be used again. This is done to ensure that a parser with a reference to this handler does not keep otherwise un-referenced data alive.


startDocument

public void startDocument()
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler

endDocument

public void endDocument()
Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class DefaultHandler

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler


Copyright © 2010. All Rights Reserved.