|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.japisoft.xpath.TreeXPathResolver
Resolver for building a tree
Field Summary |
Fields inherited from interface com.japisoft.xpath.XPathResolver |
ABBREVIATED_ANCESTOR, ABBREVIATED_ATTRIBUTE, ABBREVIATED_DESCENDANT, ABBREVIATED_NAMETEST, ABBREVIATED_SELF, ADD, AND, DIV, EQUAL, INF, INFE, MINUS, MOD, NOT_EQUAL, OR, STAR, SUP, SUPE, UNION |
Constructor Summary | |
TreeXPathResolver()
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeXPathResolver()
Method Detail |
public void nextFunction()
XPathResolver
nextFunction
in interface XPathResolver
public void nextParam()
XPathResolver
nextParam
in interface XPathResolver
public void functionName(java.lang.String qName)
XPathResolver
functionName
in interface XPathResolver
public void number(java.lang.String number)
XPathResolver
number
in interface XPathResolver
public void literal(java.lang.String literal)
XPathResolver
literal
in interface XPathResolver
public void variable(java.lang.String name)
XPathResolver
variable
in interface XPathResolver
public void unaryOperator(int type)
XPathResolver
unaryOperator
in interface XPathResolver
public void binaryOperator(java.lang.String opExt)
XPathResolver
binaryOperator
in interface XPathResolver
opExt
- can be equal to 'div' or 'mod'public void binaryOperator(int type)
XPathResolver
binaryOperator
in interface XPathResolver
public void nodeType(java.lang.String nodeType)
XPathResolver
nodeType
in interface XPathResolver
public void processingInstruction(java.lang.String name, java.lang.String argument)
XPathResolver
processingInstruction
in interface XPathResolver
name
- Processing instructionargument
- Argument for the processing instruction, can be null
public void nameTest(java.lang.String nameTest, java.lang.String namespacePrefix)
XPathResolver
nameTest
in interface XPathResolver
public void abbreviatedAxis(java.lang.String axisName)
XPathResolver
abbreviatedAxis
in interface XPathResolver
public void axis(java.lang.String axisName)
XPathResolver
axis
in interface XPathResolver
public void nextPredicate()
XPathResolver
nextPredicate
in interface XPathResolver
public void nextExpression()
XPathResolver
nextExpression
in interface XPathResolver
public void nextLocationPath()
XPathResolver
nextLocationPath
in interface XPathResolver
public void root()
XPathResolver
root
in interface XPathResolver
public AbstractNode getRootParsedNode()
XPathResolver
getRootParsedNode
in interface XPathResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |