| Modifier and Type | Field and Description |
|---|---|
| private StreamFilter |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasNext()
Overrides com. Implements javax. Returns true if there are more parsing events and false if there are no more events. |
| public int | next()
Overrides com. Implements javax. Get next parsing event - a processor may return all contiguous character data in a single chunk, or it may split it into several chunks. |
| public void |
| _filter | back to summary |
|---|---|
| private StreamFilter _filter | |
| StAXFilteredParser | back to summary |
|---|---|
| public StAXFilteredParser() Creates a new instance of StAXFilteredParser | |
| StAXFilteredParser | back to summary |
|---|---|
| public StAXFilteredParser(XMLStreamReader reader, StreamFilter filter) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() throws XMLStreamException Overrides com. Implements javax. Doc from javax. Returns true if there are more parsing events and false if there are no more events. This method will return false if the current state of the XMLStreamReader is END_DOCUMENT
| |
| next | back to summary |
|---|---|
| public int next() throws XMLStreamException Overrides com. Implements javax. Doc from javax. Get next parsing event - a processor may return all contiguous character data in a single chunk, or it may split it into several chunks. If the property javax.xml.stream.isCoalescing is set to true element content must be coalesced and only one CHARACTERS event must be returned for contiguous element content or CDATA Sections. By default entity references must be expanded and reported transparently to the application. An exception will be thrown if an entity reference cannot be expanded. If element content is empty (i.e. content is "") then no CHARACTERS event will be reported. Given the following XML: Note empty element (such as
| |
| setFilter | back to summary |
|---|---|
| public void setFilter(StreamFilter filter) | |