org.geotools.xml.impl
Class StreamingParserHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.geotools.xml.impl.ParserHandler
          extended by org.geotools.xml.impl.StreamingParserHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
Direct Known Subclasses:
ElementNameStreamingParserHandler, JXPathStreamingParserHandler, TypeStreamingParserHandler

public class StreamingParserHandler
extends ParserHandler


Field Summary
 
Fields inherited from class org.geotools.xml.impl.ParserHandler
handlers
 
Constructor Summary
StreamingParserHandler(Configuration config)
           
 
Method Summary
 void endDocument()
           
protected  void endElementInternal(ElementHandler handler)
           
 Buffer getBuffer()
           
protected  boolean stream(ElementHandler handler)
           
 
Methods inherited from class org.geotools.xml.impl.ParserHandler
characters, configure, endElement, error, findSchemaLocationResolvers, findSchemaLocators, getBindingFactory, getBindingLoader, getBindingWalker, getConfiguration, getHandlerFactory, getLogger, getNamespaceSupport, getSchemaIndex, getSchemas, getValidationErrors, getValidator, getValue, isFailOnValidationError, isStrict, isValidating, setFailOnValidationError, setStrict, setValidating, startDocument, startElement, startPrefixMapping, warning
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingParserHandler

public StreamingParserHandler(Configuration config)
Method Detail

endElementInternal

protected void endElementInternal(ElementHandler handler)
Overrides:
endElementInternal in class ParserHandler

stream

protected boolean stream(ElementHandler handler)

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class ParserHandler
Throws:
org.xml.sax.SAXException

getBuffer

public Buffer getBuffer()


Copyright © 1996-2010 Geotools. All Rights Reserved.