| Modifier and Type | Class and Description |
|---|---|
class |
TypeConversionException |
| Modifier and Type | Method and Description |
|---|---|
StaxNavigator<N> |
StaxNavigator.assertNext(N expectedName)
Assert there is a next element with the expected name.
|
N |
StaxNavigator.child()
Attempts to navigate to the first child found and return its name.
|
boolean |
StaxNavigator.child(N name)
Attempts to navigate to the first child having the specified name.
|
static <N> StaxNavigator<N> |
StaxNavigatorFactory.create(Naming<N> naming,
java.io.InputStream is) |
static <N> StaxNavigator<N> |
StaxNavigatorFactory.create(Naming<N> naming,
java.io.Reader reader) |
static <N> StaxNavigator<N> |
StaxNavigatorFactory.create(Naming<N> naming,
javax.xml.stream.XMLStreamReader stream) |
int |
StaxNavigator.descendant(N name)
Attempts to navigate to the first descendant with the specified name.
|
boolean |
StaxNavigator.find(N name)
Attempts to navigate to an element following the current one when it has the specified name.
|
StaxNavigator<N> |
StaxNavigator.fork()
Creates a navigator scoped around the currently navigated element.
|
<N> StaxNavigator<N> |
StaxNavigator.fork(Naming<N> naming)
Creates a navigator scoped around the currently navigated element.
|
java.lang.String |
StaxNavigator.getAttribute(javax.xml.namespace.QName name)
Returns an attribute of the current element or null if such attribute does not exist.
|
java.lang.String |
StaxNavigator.getAttribute(java.lang.String name)
Returns an attribute of the current element or null if such attribute does not exist.
|
java.util.Map<java.lang.String,java.lang.String> |
StaxNavigator.getAttributes()
Returns all attributes of the current element or null when the no valid node is being navigated.
|
java.lang.String |
StaxNavigator.getContent()
Returns the current navigated element textual content.
|
int |
StaxNavigator.getDepth()
Returns the current navigated element depth.
|
java.lang.String |
StaxNavigator.getLocalName()
Returns the string representation of the local xml element.
|
javax.xml.stream.Location |
StaxNavigator.getLocation()
Returns the location of the start tag of the currently navigated element.
|
N |
StaxNavigator.getName()
Returns the current navigated element name.
|
java.lang.String |
StaxNavigator.getNamespaceByPrefix(java.lang.String prefix)
Returns a namespace URI by its prefix or return null if it is not bound.
|
javax.xml.namespace.QName |
StaxNavigator.getQName()
Returns the qname of the current xml element.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
StaxNavigator.getQualifiedAttributes()
Returns all attributes of the current element or null when the no valid node is being navigated.
|
N |
StaxNavigator.navigate(Axis axis)
Navigates to the next element according to the axis argument and returns its name or null if the end of the stream
is reached.
|
boolean |
StaxNavigator.navigate(Axis axis,
N name)
Attempt to navigate to the next element according to the axis argument having the specified name.
|
N |
StaxNavigator.next()
Navigates to the next element and returns its name or null if the end of the stream is reached.
|
boolean |
StaxNavigator.next(N name)
Attempt to navigate to the next element having the specified name.
|
N |
StaxNavigator.next(java.util.Set<N> names)
Attempts to navigate to the next element when it belongs to the set of specified names.
|
<V> V |
StaxNavigator.parseContent(ValueType<V> valueType)
Parses the content of the currently navigated element and return the parsed value.
|
N |
StaxNavigator.sibling()
Attempt to navigate to the next sibling and return its name.
|
boolean |
StaxNavigator.sibling(N name)
Attempts to navigate to the next sibling having the specified name.
|
Copyright © 2014 eXo Platform SAS. All Rights Reserved.