|
|||||||||||
| 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeXPathResolver()
| Method Detail |
public void nextFunction()
XPathResolver
nextFunction in interface XPathResolverpublic void nextParam()
XPathResolver
nextParam in interface XPathResolverpublic void functionName(java.lang.String qName)
XPathResolver
functionName in interface XPathResolverpublic void number(java.lang.String number)
XPathResolver
number in interface XPathResolverpublic void literal(java.lang.String literal)
XPathResolver
literal in interface XPathResolverpublic void variable(java.lang.String name)
XPathResolver
variable in interface XPathResolverpublic void unaryOperator(int type)
XPathResolver
unaryOperator in interface XPathResolverpublic void binaryOperator(java.lang.String opExt)
XPathResolver
binaryOperator in interface XPathResolveropExt - can be equal to 'div' or 'mod'public void binaryOperator(int type)
XPathResolver
binaryOperator in interface XPathResolverpublic 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 XPathResolvername - 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 XPathResolverpublic void abbreviatedAxis(java.lang.String axisName)
XPathResolver
abbreviatedAxis in interface XPathResolverpublic void axis(java.lang.String axisName)
XPathResolver
axis in interface XPathResolverpublic void nextPredicate()
XPathResolver
nextPredicate in interface XPathResolverpublic void nextExpression()
XPathResolver
nextExpression in interface XPathResolverpublic void nextLocationPath()
XPathResolver
nextLocationPath in interface XPathResolverpublic void root()
XPathResolver
root in interface XPathResolverpublic AbstractNode getRootParsedNode()
XPathResolver
getRootParsedNode in interface XPathResolver
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||