Package org.petitparser.grammar.xml
Class XmlCharacterParser
java.lang.Object
org.petitparser.parser.Parser
org.petitparser.grammar.xml.XmlCharacterParser
public class XmlCharacterParser extends Parser
Optimized parser to read character data.
-
Method Summary
Modifier and Type Method Description XmlCharacterParsercopy()static StringencodeXmlAttributeValue(String input)static StringencodeXmlText(String input)intfastParseOn(String buffer, int position)List<Parser>getChildren()ResultparseOn(Context context)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, 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
-