Class LosslessParser
java.lang.Object
io.jenkins.plugins.xmleditor.core.parse.LosslessParser
Tokenizer that builds the lossless tree: every character of the input ends up in exactly one node, so that
serializing the tree gives back the input unchanged. Strict well-formedness (names, namespaces, character rules)
is checked separately by
WellFormednessChecker; this class only rejects input it cannot structure.-
Method Summary
-
Method Details
-
parse
- Throws:
XmlEditorException
-
parseFragment
Parses a well-balanced fragment (any number of nodes); the returned nodes are detached.- Throws:
XmlEditorException
-