|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for resolving XPath expression. This interface receive events from the parsing engine and build a nodeSet as an XPath result.
XPathContext
Field Summary | |
static java.lang.String |
ABBREVIATED_ANCESTOR
|
static java.lang.String |
ABBREVIATED_ATTRIBUTE
|
static java.lang.String |
ABBREVIATED_DESCENDANT
|
static java.lang.String |
ABBREVIATED_NAMETEST
|
static java.lang.String |
ABBREVIATED_SELF
|
static int |
ADD
+ operator |
static int |
AND
and operator |
static int |
DIV
div operator |
static int |
EQUAL
= operator |
static int |
INF
< operator |
static int |
INFE
<= operator |
static int |
MINUS
- operator |
static int |
MOD
mod operator |
static int |
NOT_EQUAL
! |
static int |
OR
or operator |
static int |
STAR
operator |
static int |
SUP
> operator |
static int |
SUPE
>= operator |
static int |
UNION
union operator |
Method Summary | |
void |
abbreviatedAxis(java.lang.String axisName)
' |
void |
axis(java.lang.String axisName)
Reset the current axis : ancestor, ancestor-or-self, attribute, child, descendant, descendant-or-self, following, following-sibling, namespace parent, preceding, preceding-sibling, self. |
void |
binaryOperator(int type)
Evaluate the current predicate with binary operator |
void |
binaryOperator(java.lang.String opExt)
Evaluate the current predicate with this binary operator |
void |
functionName(java.lang.String qname)
Current function name |
AbstractNode |
getRootParsedNode()
At the end of the parsing process, this value contains the result set |
void |
literal(java.lang.String literal)
Current literal |
void |
nameTest(java.lang.String nameTest,
java.lang.String namespacePrefix)
Reset the nameTest after the axis name. |
void |
nextExpression()
Next expression for the predicate |
void |
nextFunction()
Evaluate the current function |
void |
nextLocationPath()
Prepare the current nodeSet |
void |
nextParam()
Add a parameter |
void |
nextPredicate()
Prepare the current nodeSet |
void |
nodeType(java.lang.String nodeType)
Reset the nodeType : comment , text , processing-instruction , node |
void |
number(java.lang.String number)
Current number |
void |
processingInstruction(java.lang.String name,
java.lang.String argument)
Reset the processing instruction after the axis name |
void |
root()
Select the root node |
void |
unaryOperator(int type)
Evaluate the current predicate expression with an unary operator |
void |
variable(java.lang.String name)
Evaluate the current variable |
Field Detail |
public static final java.lang.String ABBREVIATED_SELF
public static final java.lang.String ABBREVIATED_ANCESTOR
public static final java.lang.String ABBREVIATED_DESCENDANT
public static final java.lang.String ABBREVIATED_ATTRIBUTE
public static final java.lang.String ABBREVIATED_NAMETEST
public static final int OR
public static final int AND
public static final int EQUAL
public static final int NOT_EQUAL
public static final int INF
public static final int SUP
public static final int INFE
public static final int SUPE
public static final int ADD
public static final int MINUS
public static final int STAR
public static final int DIV
public static final int MOD
public static final int UNION
Method Detail |
public AbstractNode getRootParsedNode()
public void root()
public void nextLocationPath()
public void nextPredicate()
public void nextExpression()
public void axis(java.lang.String axisName)
public void abbreviatedAxis(java.lang.String axisName)
public void nameTest(java.lang.String nameTest, java.lang.String namespacePrefix)
public void processingInstruction(java.lang.String name, java.lang.String argument)
name
- Processing instructionargument
- Argument for the processing instruction, can be null
public void nodeType(java.lang.String nodeType)
public void binaryOperator(int type)
public void binaryOperator(java.lang.String opExt)
opExt
- can be equal to 'div' or 'mod'public void unaryOperator(int type)
public void variable(java.lang.String name)
public void literal(java.lang.String literal)
public void number(java.lang.String number)
public void functionName(java.lang.String qname)
public void nextParam()
public void nextFunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |