public interface XPointerStreamBuilder
XMLStreamReader
facade that adapts a given XMLStreamReader
only selecting the contents identified by a given XPointer expression.Modifier and Type | Method and Description |
---|---|
XMLStreamReader |
createStreamReader(XMLStreamReader xmlReader,
String xpointerExpression,
NamespaceContext namespaceContext)
This method creates a
XMLStreamReader facade that adapts the given xmlReader so only the contents
pointed by the given xpointerExpression are visible. |
XMLStreamReader createStreamReader(XMLStreamReader xmlReader, String xpointerExpression, NamespaceContext namespaceContext) throws XmlException
XMLStreamReader
facade that adapts the given xmlReader
so only the contents
pointed by the given xpointerExpression
are visible.xmlReader
- is the original reader to adapt.xpointerExpression
- is the XPointer expression.namespaceContext
- is the namespace-context to inherit from when parsing the XPointer expression.XMLStreamReader
facade.XmlException
- if the given xpointerExpression
is illegal or NOT supported.Copyright © 2001–2016 mmm-Team. All rights reserved.