|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
N
- The node handle.S
- The symbol (namespace-uri and/or local-name).Q
- The QName.public interface Model<N,S,Q>
An optional interface for gXML APIs designed to provide consistency.
Method Summary | |
---|---|
java.lang.Iterable<N> |
getAncestorAxis(N origin)
Returns the nodes along the ancestor axis using the specified node as the origin. |
java.lang.Iterable<N> |
getAncestorOrSelfAxis(N origin)
Returns the nodes along the ancestor-or-self axis using the specified node as the origin. |
N |
getAttribute(N parent,
S namespaceURI,
S localName)
Returns the attribute node with the specified expanded-QName. |
java.lang.Iterable<Q> |
getAttributeNames(N node,
boolean orderCanonical)
Returns the set of attribute names for the node. |
java.lang.Iterable<N> |
getChildAxis(N origin)
Returns the nodes along the child axis using the specified node as the origin. |
S |
getLocalName(N node)
Returns the local-name part of the node name. |
S |
getNamespaceURI(N node)
Returns the namespace-uri part of the node name. |
NodeKind |
getNodeKind(N node)
Returns the node-kind of the node as an enumeration in NodeKind . |
N |
getParent(N node)
Returns the parent node of the node provided. |
java.lang.String |
getStringValue(N node)
Returns the dm:string-value property of the node. |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Method Detail |
---|
java.lang.Iterable<N> getAncestorAxis(N origin)
origin
- The origin node.java.lang.Iterable<N> getAncestorOrSelfAxis(N origin)
origin
- The origin node.N getAttribute(N parent, S namespaceURI, S localName)
parent
- The node that is the parent of the attribute node.namespaceURI
- The namespace-uri part of the attribute name.localName
- The local-name part of the attribute name.java.lang.Iterable<Q> getAttributeNames(N node, boolean orderCanonical)
This method does not inherit attribute names in the reserved XML namespace.
node
- The node for which the attribute names are required.orderCanonical
- Determines whether the names will be returned in canonical order (lexicographically by namespace
URI,local name).java.lang.Iterable<N> getChildAxis(N origin)
origin
- The origin node.S getLocalName(N node)
node
- The node for which the node local-name is required.S getNamespaceURI(N node)
node
- The node for which the node namespace-uri is required.NodeKind getNodeKind(N node)
NodeKind
.
Applies to all node kinds and never returns null
.
node
- The node for which the node-kind is required.N getParent(N node)
null
for top-most or orphaned nodes.
node
- The node for which the parent is required.java.lang.String getStringValue(N node)
node
- The node for which the dm:string-value is required.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |