| Modifier and Type | Field and Description |
|---|---|
| protected final StringBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(char[]
the characters from the XML document buf, int the start position in the array from, int the number of characters to read from the array len)Overrides com. Implements org. |
| public void | ignorableWhitespace(char[]
the characters from the XML document buf, int the start position in the array from, int the number of characters to read from the array len)Overrides com. Implements org. |
| protected Expression | makeExpression()
Implements abstract com. |
| text | back to summary |
|---|---|
| protected final StringBuffer text | |
| StringState | back to summary |
|---|---|
| public StringState() | |
| characters | back to summary |
|---|---|
| public void characters(char[] buf, int from, int len) Overrides com. Implements org. Doc from org. Receive notification of character data. The 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; however, all of the characters in any single event must come from the same external entity so that the Locator provides useful information. The application must not attempt to read from the array outside of the specified range. Individual characters may consist of more than one Java
Your code should not assume that algorithms using
Note that some parsers will report whitespace in element
content using the
| |
| ignorableWhitespace | back to summary |
|---|---|
| public void ignorableWhitespace(char[] buf, int from, int len) Overrides com. Implements org. Doc from org. Receive notification of ignorable whitespace in element content. Validating Parsers must use this method to report each chunk of whitespace in element content (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models. SAX parsers may return all contiguous whitespace in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information. The application must not attempt to read from the array outside of the specified range.
| |
| makeExpression | back to summary |
|---|---|
| protected Expression makeExpression() Implements abstract com. Doc from com. This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element. | |