org.geotools.xml
Class PullParser

Object
  extended by PullParser

public class PullParser
extends Object

XML pull parser capable of streaming.

Similar in nature to StreamingParser but based on XPP pull parsing rather than SAX.

Author:
Justin Deoliveira, OpenGeo

Constructor Summary
PullParser(Configuration config, InputStream input, Class type)
           
PullParser(Configuration config, InputStream input, Object... handlerSpecs)
           
PullParser(Configuration config, InputStream input, PullParser.PullParserHandler handler)
           
PullParser(Configuration config, InputStream input, QName element)
           
 
Method Summary
 Object parse()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PullParser

public PullParser(Configuration config,
                  InputStream input,
                  QName element)

PullParser

public PullParser(Configuration config,
                  InputStream input,
                  Class type)

PullParser

public PullParser(Configuration config,
                  InputStream input,
                  Object... handlerSpecs)

PullParser

public PullParser(Configuration config,
                  InputStream input,
                  PullParser.PullParserHandler handler)
Method Detail

parse

public Object parse()
             throws XMLStreamException,
                    IOException,
                    SAXException
Throws:
XMLStreamException
IOException
SAXException


Copyright © 1996-2014 Geotools. All Rights Reserved.