org.exolab.adaptx.xpath.expressions

Interface LocationStep

All Superinterfaces:
MatchExpression, PathComponent, XPathExpression

public interface LocationStep
extends PathComponent

This interface represents a Location Step as defined by XPath 1.0
Version:
$Revision: 3734 $ $Date: 2003-05-13 09:55:04 +0200 (Tue, 13 May 2003) $
Author:
Keith Visco

Field Summary

static short
ANCESTORS_AXIS
static short
ANCESTORS_OR_SELF_AXIS
static short
ATTRIBUTES_AXIS
static short
CHILDREN_AXIS
static short
DESCENDANTS_AXIS
static short
DESCENDANTS_OR_SELF_AXIS
static short
FOLLOWING_AXIS
static short
FOLLOWING_SIBLINGS_AXIS
static short
NAMESPACE_AXIS
static short
PARENT_AXIS
static short
PRECEDING_AXIS
static short
PRECEDING_SIBLINGS_AXIS
static short
SELF_AXIS

Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression

BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR

Method Summary

short
getAxisIdentifier()
Returns the axis-identifier for this LocationStep.
NodeExpression
getNodeExpr()
Returns the NodeExpression for this LocationStep

Methods inherited from interface org.exolab.adaptx.xpath.expressions.MatchExpression

matches

Methods inherited from interface org.exolab.adaptx.xpath.expressions.PathComponent

evaluatePredicates, getDefaultPriority, getPredicate, getSubExpression, hasPredicates, isFilterExpr, isLocationStep

Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression

evaluate, getExprType, toString

Field Details

ANCESTORS_AXIS

public static final short ANCESTORS_AXIS
Field Value:
0

ANCESTORS_OR_SELF_AXIS

public static final short ANCESTORS_OR_SELF_AXIS
Field Value:
1

ATTRIBUTES_AXIS

public static final short ATTRIBUTES_AXIS
Field Value:
2

CHILDREN_AXIS

public static final short CHILDREN_AXIS
Field Value:
3

DESCENDANTS_AXIS

public static final short DESCENDANTS_AXIS
Field Value:
4

DESCENDANTS_OR_SELF_AXIS

public static final short DESCENDANTS_OR_SELF_AXIS
Field Value:
5

FOLLOWING_AXIS

public static final short FOLLOWING_AXIS
Field Value:
6

FOLLOWING_SIBLINGS_AXIS

public static final short FOLLOWING_SIBLINGS_AXIS
Field Value:
7

NAMESPACE_AXIS

public static final short NAMESPACE_AXIS
Field Value:
12

PARENT_AXIS

public static final short PARENT_AXIS
Field Value:
8

PRECEDING_AXIS

public static final short PRECEDING_AXIS
Field Value:
9

PRECEDING_SIBLINGS_AXIS

public static final short PRECEDING_SIBLINGS_AXIS
Field Value:
10

SELF_AXIS

public static final short SELF_AXIS
Field Value:
11

Method Details

getAxisIdentifier

public short getAxisIdentifier()
Returns the axis-identifier for this LocationStep.
Returns:
the axis-identifier for this LocationStep.

getNodeExpr

public NodeExpression getNodeExpr()
Returns the NodeExpression for this LocationStep
Returns:
the NodeExpression for this LocationStep