public class PullParser extends Object
Similar in nature to StreamingParser
but based on XPP pull parsing rather than SAX.
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
Object |
parse() |
void |
setContextCustomizer(ParserHandler.ContextCustomizer contextCustomizer) |
public PullParser(Configuration config, InputStream input, QName element)
public PullParser(Configuration config, InputStream input, Class type)
public PullParser(Configuration config, InputStream input, Object... handlerSpecs)
public PullParser(Configuration config, InputStream input, PullParser.PullParserHandler handler)
public void setContextCustomizer(ParserHandler.ContextCustomizer contextCustomizer)
public Object parse() throws XMLStreamException, IOException, SAXException
Copyright © 1996–2019 Geotools. All rights reserved.