public class XPointerStreamReader extends StreamReaderProxy
XMLStreamReader
interface that adapts an XMLStreamReader
adding
limited XPointer support. Modifier and Type | Field and Description |
---|---|
private int |
depth
The depths of elements.
|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
XPointerStreamReader(XMLStreamReader delegate,
String xpointer)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
next() |
nextTag
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, require, setParent, standaloneSet
public XPointerStreamReader(XMLStreamReader delegate, String xpointer)
delegate
- is the reader to adapt.xpointer
- is the XPointer expression.public int next() throws XMLStreamException
next
in interface XMLStreamReader
next
in class StreamReaderDelegate
XMLStreamException
Copyright © 2001–2016 mmm-Team. All rights reserved.