|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parser
| Method Summary | ||
|---|---|---|
ParserOptions |
getDefaultParserOptions()
Return the default parser options for this Parser. |
|
|
parse(InputStream in)
Parse the input stream using the default character set encoding (UTF-8) |
|
|
parse(InputStream in,
ParserOptions options)
Parse the input stream using the default character set encoding (UTF-8). |
|
|
parse(InputStream in,
String base)
Parse the input stream using the default character set encoding (UTF-8). |
|
|
parse(InputStream in,
String base,
ParserOptions options)
Parse the input stream using using the specified Parse options. |
|
|
parse(ReadableByteChannel buf)
Parse the channel using using the specified Parse options. |
|
|
parse(ReadableByteChannel buf,
ParserOptions options)
Parse the channel using using the specified Parse options. |
|
|
parse(ReadableByteChannel buf,
String base)
Parse the channel using using the specified Parse options. |
|
|
parse(ReadableByteChannel buf,
String base,
ParserOptions options)
Parse the channel using using the specified Parse options. |
|
|
parse(Reader in)
Parse the reader using the default Base URI and options |
|
|
parse(Reader in,
ParserOptions options)
Parse the reader using the specified Base URI |
|
|
parse(Reader in,
String base)
Parse the reader using the specified Base URI |
|
|
parse(Reader in,
String base,
ParserOptions options)
Parse the reader using using the specified Parse options. |
|
|
parse(javax.xml.stream.XMLStreamReader reader)
Parse the input stream using the default character set encoding (UTF-8) |
|
|
parse(javax.xml.stream.XMLStreamReader reader,
String base,
ParserOptions options)
Parse the channel using using the specified Parse options. |
|
Parser |
setDefaultParserOptions(ParserOptions options)
Set the default parser options for this Parser. |
|
| Method Detail |
|---|
<T extends Element> Document<T> parse(InputStream in)
throws ParseException
in - The input stream to parse
ParseException - if the parse failed
<T extends Element> Document<T> parse(javax.xml.stream.XMLStreamReader reader)
throws ParseException
reader - The XMLStreamReader to use to parse
ParseException - if the parse failed
<T extends Element> Document<T> parse(InputStream in,
String base)
throws ParseException
in - The input stream to parsebase - The Base URI of the document
ParseException - if the parse failed
<T extends Element> Document<T> parse(InputStream in,
ParserOptions options)
throws ParseException
in - The input stream to parseoptions - The Parse options
ParseException - if the parse failed
<T extends Element> Document<T> parse(InputStream in,
String base,
ParserOptions options)
throws ParseException
in - The input stream to parsebase - The Base URI of the documentoptions - The Parse Options
ParseException - if the parse failed
<T extends Element> Document<T> parse(Reader in)
throws ParseException
in - The Reader to parse
ParseException - if the parse failed
<T extends Element> Document<T> parse(Reader in,
String base)
throws ParseException
in - The Reader to parsebase - The Base URI
ParseException - if the parse failed
<T extends Element> Document<T> parse(Reader in,
ParserOptions options)
throws ParseException
in - The Reader to parseoptions - The Parse Options
ParseException - if the parse failed
<T extends Element> Document<T> parse(Reader in,
String base,
ParserOptions options)
throws ParseException
in - The reader to parsebase - The Base URI of the documentoptions - The Parse Options
ParseException - if the parse failed
<T extends Element> Document<T> parse(ReadableByteChannel buf)
throws ParseException
in - The ReadableByteChannel to parse
ParseException - if the parse failed
<T extends Element> Document<T> parse(ReadableByteChannel buf,
String base)
throws ParseException
in - The ReadableByteChannel to parsebase - The Base URI of the document
ParseException - if the parse failed
<T extends Element> Document<T> parse(ReadableByteChannel buf,
String base,
ParserOptions options)
throws ParseException
in - The ReadableByteChannel to parsebase - The Base URI of the documentoptions - The Parse Options
ParseException - if the parse failed
<T extends Element> Document<T> parse(javax.xml.stream.XMLStreamReader reader,
String base,
ParserOptions options)
throws ParseException
reader - the XMLStreamReader parser to use to parsebase - The Base URI of the documentoptions - The Parse Options
ParseException - if the parse failed
<T extends Element> Document<T> parse(ReadableByteChannel buf,
ParserOptions options)
throws ParseException
in - The ReadableByteChannel to parseoptions - The Parse Options
ParseException - if the parse failedParserOptions getDefaultParserOptions()
Parser setDefaultParserOptions(ParserOptions options)
options - The Parser Options to use as the default
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||