public interface XMLConsumer
XMLParser
for more details.XMLParser
Modifier and Type | Method and Description |
---|---|
boolean |
consumeElement(XMLElement e)
Process an XML element.
|
void |
consumeText(String text)
Process text.
|
boolean consumeElement(XMLElement e)
e
- The XMLElement
to process.true
is returned,
the parser treats all subsequent whitespace literally. If
false
is returned, the parser collapses contiguous
sequences of whitespace into a single space (the default
mode). Whitespace in this context denotes spaces, tabs,
newlines, and formfeed characters.void consumeText(String text)
text
- The text to process.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses