| java.lang.Object org.apache.xml.dtm.Axis
Axis | final public class Axis (Code) | | Specifies values related to XPath Axes.
The ancestor, descendant, following, preceding and self axes partition a
document (ignoring attribute and namespace nodes): they do not overlap
and together they contain all the nodes in the document.
|
Field Summary | |
final public static int | ALL A non-xpath axis, returns all nodes in the tree from and including the
root. | final public static int | ALLFROMNODE A non-xpath axis, traversing the subtree including the subtree
root, descendants, attributes, and namespace node decls. | final public static int | ANCESTOR The ancestor axis contains the ancestors of the context node;
the ancestors of the context node consist of the parent of context
node and the parent's parent and so on; thus, the ancestor axis will
always include the root node, unless the context node is the root node. | final public static int | ANCESTORORSELF the ancestor-or-self axis contains the context node and the ancestors of
the context node; thus, the ancestor axis will always include the
root node. | final public static int | ATTRIBUTE the attribute axis contains the attributes of the context node; the axis
will be empty unless the context node is an element. | final public static int | CHILD The child axis contains the children of the context node. | final public static int | DESCENDANT The descendant axis contains the descendants of the context node;
a descendant is a child or a child of a child and so on; thus the
descendant axis never contains attribute or namespace nodes. | final public static int | DESCENDANTORSELF The descendant-or-self axis contains the context node and the
descendants of the context node. | final public static int | DESCENDANTSFROMROOT A non-xpath axis, returns all nodes that aren't namespaces or attributes,
from and including the root. | final public static int | DESCENDANTSORSELFFROMROOT A non-xpath axis, returns all nodes that aren't namespaces or attributes,
from and including the root. | final public static int | FILTEREDLIST A non-xpath axis, for functions. | final public static int | FOLLOWING the following axis contains all nodes in the same document as the
context node that are after the context node in document order, excluding
any descendants and excluding attribute nodes and namespace nodes. | final public static int | FOLLOWINGSIBLING The following-sibling axis contains all the following siblings of the
context node; if the context node is an attribute node or namespace node,
the following-sibling axis is empty. | final public static int | NAMESPACE The namespace axis contains the namespace nodes of the context node; the
axis will be empty unless the context node is an element. | final public static int | NAMESPACEDECLS The namespace axis contains the namespace nodes of the context node; the
axis will be empty unless the context node is an element. | final public static int | PARENT The parent axis contains the parent of the context node,
if there is one. | final public static int | PRECEDING | final public static int | PRECEDINGANDANCESTOR A non-xpath axis, traversing the the preceding and the ancestor nodes,
needed for inverseing select patterns to match patterns. | final public static int | PRECEDINGSIBLING The preceding-sibling axis contains all the preceding siblings of the
context node; if the context node is an attribute node or namespace node,
the preceding-sibling axis is empty. | final public static int | ROOT A non-xpath axis, returns root only. | final public static int | SELF The self axis contains just the context node itself. |
ALL | final public static int ALL(Code) | | A non-xpath axis, returns all nodes in the tree from and including the
root.
|
ALLFROMNODE | final public static int ALLFROMNODE(Code) | | A non-xpath axis, traversing the subtree including the subtree
root, descendants, attributes, and namespace node decls.
|
ANCESTOR | final public static int ANCESTOR(Code) | | The ancestor axis contains the ancestors of the context node;
the ancestors of the context node consist of the parent of context
node and the parent's parent and so on; thus, the ancestor axis will
always include the root node, unless the context node is the root node.
|
ANCESTORORSELF | final public static int ANCESTORORSELF(Code) | | the ancestor-or-self axis contains the context node and the ancestors of
the context node; thus, the ancestor axis will always include the
root node.
|
ATTRIBUTE | final public static int ATTRIBUTE(Code) | | the attribute axis contains the attributes of the context node; the axis
will be empty unless the context node is an element.
|
CHILD | final public static int CHILD(Code) | | The child axis contains the children of the context node.
|
DESCENDANT | final public static int DESCENDANT(Code) | | The descendant axis contains the descendants of the context node;
a descendant is a child or a child of a child and so on; thus the
descendant axis never contains attribute or namespace nodes.
|
DESCENDANTORSELF | final public static int DESCENDANTORSELF(Code) | | The descendant-or-self axis contains the context node and the
descendants of the context node.
|
DESCENDANTSFROMROOT | final public static int DESCENDANTSFROMROOT(Code) | | A non-xpath axis, returns all nodes that aren't namespaces or attributes,
from and including the root.
|
DESCENDANTSORSELFFROMROOT | final public static int DESCENDANTSORSELFFROMROOT(Code) | | A non-xpath axis, returns all nodes that aren't namespaces or attributes,
from and including the root.
|
FILTEREDLIST | final public static int FILTEREDLIST(Code) | | A non-xpath axis, for functions.
|
FOLLOWING | final public static int FOLLOWING(Code) | | the following axis contains all nodes in the same document as the
context node that are after the context node in document order, excluding
any descendants and excluding attribute nodes and namespace nodes.
|
FOLLOWINGSIBLING | final public static int FOLLOWINGSIBLING(Code) | | The following-sibling axis contains all the following siblings of the
context node; if the context node is an attribute node or namespace node,
the following-sibling axis is empty.
|
NAMESPACE | final public static int NAMESPACE(Code) | | The namespace axis contains the namespace nodes of the context node; the
axis will be empty unless the context node is an element.
|
NAMESPACEDECLS | final public static int NAMESPACEDECLS(Code) | | The namespace axis contains the namespace nodes of the context node; the
axis will be empty unless the context node is an element.
|
PARENT | final public static int PARENT(Code) | | The parent axis contains the parent of the context node,
if there is one.
|
PRECEDING | final public static int PRECEDING(Code) | | The preceding axis contains all nodes in the same document as the context
node that are before the context node in document order, excluding any
ancestors and excluding attribute nodes and namespace nodes
|
PRECEDINGANDANCESTOR | final public static int PRECEDINGANDANCESTOR(Code) | | A non-xpath axis, traversing the the preceding and the ancestor nodes,
needed for inverseing select patterns to match patterns.
|
PRECEDINGSIBLING | final public static int PRECEDINGSIBLING(Code) | | The preceding-sibling axis contains all the preceding siblings of the
context node; if the context node is an attribute node or namespace node,
the preceding-sibling axis is empty.
|
ROOT | final public static int ROOT(Code) | | A non-xpath axis, returns root only.
|
SELF | final public static int SELF(Code) | | The self axis contains just the context node itself.
|
getNamesLength | public static int getNamesLength()(Code) | | |
isReverse | public static boolean isReverse(int axis)(Code) | | |
|
|