public abstract class TunableParserForXml<D> extends TunableParser<D>
TunableParser.CharSet, TunableParser.ExtensionalCharSet
Modifier and Type | Field and Description |
---|---|
static TunableParser.CharSet |
asciiLetterSet
The letters in ascii.
|
static TunableParser.ExtensionalCharSet |
decDigitSet
Decimal digits.
|
static TunableParser.CharSet |
encNameSet
Chars which can appear in an XML encoding name.
|
static TunableParser.ExtensionalCharSet |
hexDigitSet
Hexdecimal digits, in both lower and upper case.
|
static TunableParser.CharSet |
initialSet
Chars which can appear as the initial character of an identifier,
as defined by "Name" nonterminal of the XML standard.
|
static TunableParser.CharSet |
nameSet
Chars which can appear as subsequent characters of an identifier,
as defined by "Name" nonterminal of the XML standard.
|
static char |
prefix_GE |
static char |
prefix_PE |
static TunableParser.ExtensionalCharSet |
pubidCharSet
Chars which can appear in an XML "public identifier".
|
static TunableParser.CharSet |
sNoPESet
Chars which are the alternatives for XML whitespace, excluding parameter
entities.
|
static TunableParser.CharSet |
sSet
Chars which are the alternatives for XML whitespace including
the starting character of parameter enttities.
|
static String |
stringconstant_IGNORE |
static String |
stringconstant_INCLUDE |
static TunableParser.CharSet |
versionNumSet
Chars which can appear in an XML version declaration.
|
base, in, messageGenerator, topleveldocumentid
Constructor and Description |
---|
TunableParserForXml(Reader in,
D id,
MessageReceiver<? super SimpleMessage<D>> msg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
lookahead_pe() |
static String |
prefixedEntityName(String name,
boolean parameter)
For use as keys into maps.
|
consume, eof, error, failure, fatalError, getMessageReceiver, lookahead_eof, lookahead, lookahead, lookahead, lookahead, lookahead, match, match, match, match, matchahead, matchahead, matchahead, matchUpto, matchUpto, readExternal, setBase, setMessageReceiver, skipUpto, warning, word
public static final TunableParser.CharSet versionNumSet
public static final TunableParser.CharSet asciiLetterSet
public static final TunableParser.CharSet encNameSet
public static final TunableParser.CharSet sSet
public static final TunableParser.CharSet sNoPESet
public static final TunableParser.CharSet initialSet
public static final TunableParser.CharSet nameSet
public static final TunableParser.ExtensionalCharSet pubidCharSet
public static final TunableParser.ExtensionalCharSet hexDigitSet
public static final TunableParser.ExtensionalCharSet decDigitSet
public static final char prefix_PE
public static final char prefix_GE
public static final String stringconstant_INCLUDE
public static final String stringconstant_IGNORE
public TunableParserForXml(Reader in, D id, MessageReceiver<? super SimpleMessage<D>> msg)
in
- source to parseid
- id of toplevel document, for locations in messagesmsg
- message channelsee also the complete user documentation .