public final class TextParser extends SingleParser
The parser provides one option, which can be specified via
SET PARSEROPT ...:
encoding specifies the input encoding
(default: UTF-8).lines specified if the resulting XML splits the input
into lines. Can be set to yes or no
(default: yes).Example:
SET PARSEROPT lines=no; CREATE DB ...
Description: Puts complete input into one text node.
builder| Constructor and Description |
|---|
TextParser(IO source,
Prop pr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse()
Parses the current input.
|
builder, parseclose, emptyParser, info, item, singleParser, target, xmlParserpublic void parse()
throws java.io.IOException
SingleParserparse in class SingleParserjava.io.IOException - I/O exception