Package org.geotools.xsd
Class PullParser
Object
PullParser
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
ConstructorsConstructorDescriptionPullParser
(Configuration config, InputStream input, Class type) PullParser
(Configuration config, InputStream input, Object... handlerSpecs) PullParser
(Configuration config, InputStream input, QName element) PullParser
(Configuration config, InputStream input, PullParser.PullParserHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionparse()
void
setContextCustomizer
(ParserHandler.ContextCustomizer contextCustomizer) void
setStrict
(boolean strict) Sets if the parsing should be strict or notvoid
setURIHandler
(URIHandler uriHandler) Changes the URIHandler for this parser
-
Constructor Details
-
PullParser
-
PullParser
-
PullParser
-
PullParser
-
-
Method Details
-
setContextCustomizer
-
setStrict
public void setStrict(boolean strict) Sets if the parsing should be strict or not -
setURIHandler
public void setURIHandler(URIHandler uriHandler) Changes the URIHandler for this parser -
parse
-