public class ElementContentElementParser extends DefaultElementParser
| Constructor and Description |
|---|
ElementContentElementParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] chars,
int offset,
int length)
Do nothing by default.
|
String |
getElementContent() |
void |
startElement(Attributes attributes)
Do nothing by default.
|
endElement, getInstancepublic void startElement(Attributes attributes)
DefaultElementParserstartElement in interface ElementParserstartElement in class DefaultElementParserattributes - The element's attributespublic void characters(char[] chars,
int offset,
int length)
DefaultElementParserThe Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks.
characters in interface ElementParsercharacters in class DefaultElementParserchars - The characters from the XML document.offset - The start position in the array.length - The number of characters to read from the array.public String getElementContent()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.