Package eu.bandm.tools.util2
Class TunableParserForXml<D>
java.lang.Object
eu.bandm.tools.util2.TunableParser<D>
eu.bandm.tools.util2.TunableParserForXml<D>
- Direct Known Subclasses:
TunedDTDParser
Parser skeleton which defines the most important character set constants
for XML parsing.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.util2.TunableParser
TunableParser.CharSet, TunableParser.ExtensionalCharSet
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TunableParser.CharSet
The letters in ascii.static final TunableParser.ExtensionalCharSet
Decimal digits.static final TunableParser.CharSet
Chars which can appear in an XML encoding name.static final TunableParser.ExtensionalCharSet
Hexdecimal digits, in both lower and upper case.static final TunableParser.CharSet
Chars which can appear as the initial character of an identifier, as defined by "Name" nonterminal of the XML standard.static final TunableParser.CharSet
Chars which can appear as subsequent characters of an identifier, as defined by "Name" nonterminal of the XML standard.static final char
static final char
static final TunableParser.ExtensionalCharSet
Chars which can appear in an XML "public identifier".static final TunableParser.CharSet
Chars which are the alternatives for XML whitespace, excluding parameter entities.static final TunableParser.CharSet
Chars which are the alternatives for XML whitespace including the starting character of parameter enttities.static final String
static final String
static final TunableParser.CharSet
Chars which can appear in an XML version declaration.Fields inherited from class eu.bandm.tools.util2.TunableParser
base, in, messageReceiver, topleveldocumentid
-
Constructor Summary
ConstructorDescriptionTunableParserForXml
(Reader in, D id, MessageReceiver<? super SimpleMessage<D>> msg) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static final String
prefixedEntityName
(String name, boolean parameter) For use as keys into maps.Methods inherited from class eu.bandm.tools.util2.TunableParser
consume, eof, error, failure, fatalError, getMessageReceiver, lookahead, lookahead, lookahead, lookahead, lookahead, lookahead_eof, match, match, match, match, matchahead, matchahead, matchahead, matchUpto, matchUpto, readExternal, setBase, setMessageReceiver, skipUpto, warning, word
-
Field Details
-
versionNumSet
Chars which can appear in an XML version declaration. -
asciiLetterSet
The letters in ascii. -
encNameSet
Chars which can appear in an XML encoding name. -
sSet
Chars which are the alternatives for XML whitespace including the starting character of parameter enttities. -
sNoPESet
Chars which are the alternatives for XML whitespace, excluding parameter entities. -
initialSet
Chars which can appear as the initial character of an identifier, as defined by "Name" nonterminal of the XML standard. -
nameSet
Chars which can appear as subsequent characters of an identifier, as defined by "Name" nonterminal of the XML standard. -
pubidCharSet
Chars which can appear in an XML "public identifier". -
hexDigitSet
Hexdecimal digits, in both lower and upper case. -
decDigitSet
Decimal digits. -
prefix_PE
public static final char prefix_PE- See Also:
-
prefix_GE
public static final char prefix_GE- See Also:
-
stringconstant_INCLUDE
- See Also:
-
stringconstant_IGNORE
- See Also:
-
-
Constructor Details
-
TunableParserForXml
Constructor.- Parameters:
in
- source to parseid
- id of toplevel document, for locations in messagesmsg
- message channel
-
-
Method Details
-
lookahead_pe
public boolean lookahead_pe() -
prefixedEntityName
For use as keys into maps. Model disjoint namespaces by pre-pending ampersand.
-