public abstract class SingleParser extends Parser
| Modifier and Type | Field and Description |
|---|---|
protected Builder |
builder
Builder reference.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SingleParser(IO source,
Prop pr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SingleParser |
builder(Builder b)
Sets the database builder.
|
abstract void |
parse()
Parses the current input.
|
void |
parse(Builder build)
Parses all nodes and sends events to the specified builder.
|
close, emptyParser, info, item, singleParser, target, xmlParserprotected Builder builder
public final void parse(Builder build) throws java.io.IOException
Parserpublic abstract void parse()
throws java.io.IOException
java.io.IOException - I/O exceptionpublic SingleParser builder(Builder b)
b - builder instance