java.lang.Object
org.petitparser.parser.Parser
org.petitparser.grammar.xml.XmlCharacterParser
Optimized parser to read character data.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()static StringencodeXmlAttributeValue(String input) static StringencodeXmlText(String input) intfastParseOn(String buffer, int position) Methods inherited from class org.petitparser.parser.Parser
accept, and, callCC, delimitedBy, end, end, flatten, flatten, hasEqualChildren, hasEqualProperties, isEqualTo, isEqualTo, map, mapWithSideEffects, matches, matchesSkipping, neg, neg, not, not, optional, optional, or, or, parse, permute, pick, plus, plusGreedy, plusLazy, repeat, repeatGreedy, repeatLazy, replace, separatedBy, seq, settable, star, starGreedy, starLazy, times, token, toString, trim, trim, trim
-
Method Details
-
encodeXmlText
-
encodeXmlAttributeValue
-
parseOn
-
fastParseOn
- Overrides:
fastParseOnin classParser
-
getChildren
- Overrides:
getChildrenin classParser
-
copy
-