AxisResolver
, Predicate<Node>
public class AttributeAxisResolver extends Object
Constructor | Description |
---|---|
AttributeAxisResolver(QName name) |
Modifier and Type | Method | Description |
---|---|---|
<N extends Node> |
createAxisNode(ViewContext<N> context) |
Creates new node of this axis type.
|
<N extends Node> |
resolveAxis(ViewContext<N> context) |
Traverses XML nodes for the nodes that matches this axis.
|
boolean |
test(Node t) |
|
String |
toString() |
public AttributeAxisResolver(QName name)
public <N extends Node> NodeView<N> createAxisNode(ViewContext<N> context) throws XmlBuilderException
AxisResolver
N
- XML node typecontext
- XPath expression contextXmlBuilderException
- if error occur during XML node creationpublic String toString()
public final <N extends Node> IterableNodeView<N> resolveAxis(ViewContext<N> context) throws XmlBuilderException
AxisResolver
resolveAxis
in interface AxisResolver
N
- XML node typecontext
- XPath expression contextXmlBuilderException
- if error occur during XML node creation