Свойство | Тип | Описание | |
---|---|---|---|
URL | System.String | ||
cachingEnabled | bool | ||
contextCopy | int[] | ||
depth | int | ||
endIndex | int | ||
ft | bool | ||
index | int | ||
iter_type | int | ||
localName | System.String | ||
name | System.String | ||
name2 | System.String | ||
nsHash | System.Collections.Hashtable | ||
size | int | ||
special | bool | ||
stackSize | int | ||
vn | VTDNav | ||
xpe | Expr |
Метод | Описание | |
---|---|---|
AutoPilot ( ) : System |
Use this constructor for delayed binding to VTDNav which allows the reuse of XPath expression
|
|
AutoPilot ( |
AutoPilot constructor comment.
|
|
bind ( |
Bind is to replace rebind() and setVTDNav() It resets the internal state of AutoPilot so one can attach a VTDNav object to the autopilot
|
|
clearVariableExprs ( ) : void |
Remove all namespaces bindings
|
|
clearXPathNameSpaces ( ) : void |
Remove all namespace bindings
|
|
declareVariableExpr ( String varName, String varExpr ) : void |
declare variable references
|
|
declareXPathNameSpace ( System prefix, System URL ) : void |
This function creates URL ns prefix and is intended to be called prior to selectXPath
|
|
enableCaching ( bool state ) : void |
set state to false to disable caching, which by default is enabled This method will turn on the internal caching feature during xpath evaluation, which is to store the evaluation results of absolute expressions when they resides in a predicate examples: //a[//bb=//cc] //bb and //cc are cached internally to avoid repeitive computation.. param state
|
|
evalXPath ( ) : int |
This method returns the next node in the nodeset it returns -1 if there is no more node Afer finishing evaluating, don't forget to reset the xpath
|
|
evalXPathToBoolean ( ) : bool |
evalXPathToBoolean() evaluates the xpath expression to a boolean
|
|
evalXPathToNumber ( ) : double |
evalXPathToNumber() evaluates the xpath expression to a double
|
|
evalXPathToString ( ) : String |
evalXPathToString() evaluates the xpath expression to a String
|
|
getExprString ( ) : System.String |
Convert the expression to a string For debugging purpose
|
|
getNav ( ) : |
||
iterate ( ) : bool |
Iterate over all the selected element nodes in document order. Null element name allowed, corresponding to node() in xpath Creation date: (12/4/03 5:25:42 PM)
|
|
iterate2 ( ) : bool | ||
iterateAttr ( ) : int |
This method implements the attribute axis for XPath
|
|
resetXPath ( ) : void |
Reset the XPath so the XPath Expression can be reused and revaluated in anther context position
|
|
selectAttr ( System en ) : void |
Select an attribute name for iteration, * choose all attributes of an element
|
|
selectAttrNS ( System ns_URL, System ln ) : void |
Select an attribute name, both local part and namespace URL part
|
|
selectElement ( System en ) : void |
Select the element name before iterating. "*" matches every element Creation date: (12/4/03 5:51:31 PM)
|
|
selectElementNS ( System ns_URL, System ln ) : void |
Select the element name (name space version) before iterating. URL, if set to *, matches every namespace URL, if set to null, indicates the namespace is undefined. localname, if set to *, matches any localname Creation date: (12/4/03 6:05:19 PM)
|
|
selectXPath ( System s ) : void |
This method selects the string representing XPath expression Usually evalXPath is called afterwards
|
Метод | Описание | |
---|---|---|
checkNsUniqueness ( int i ) : bool | ||
iterateAttr2 ( ) : int |
This method implements the attribute axis for XPath
|
|
iterateNameSpace ( ) : int |
|
|
selectDescendantNode ( ) : void |
|
|
selectElementNS_D ( System ns_URL, System ln ) : void |
Select all descendent elements along the Descendent axis, withns awareness
|
|
selectElementNS_F ( System ns_URL, System ln ) : void |
Select all elements along the preceding axis as defined in XPath The namespace-aware version
|
|
selectElementNS_P ( System ns_URL, System ln ) : void |
Select all elements along the preceding axis as defined in XPath This is the namespace aware version
|
|
selectElement_D ( System en ) : void |
Select all descendent elements along the descendent axis, without ns awareness
|
|
selectElement_F ( System en ) : void |
Select all elements along the following axis, without ns, null selects every elements and documents
|
|
selectElement_P ( System en ) : void |
Select all elements along the preceding axis as defined in XPath
|
|
selectFollowingNode ( ) : void | ||
selectNameSpace ( String en ) : void |
|
|
selectNode ( ) : void | ||
selectPrecedingNode ( ) : void |
protected checkNsUniqueness ( int i ) : bool | ||
i | int | |
Результат | bool |
public declareVariableExpr ( String varName, String varExpr ) : void | ||
varName | String | |
varExpr | String | |
Результат | void |
public declareXPathNameSpace ( System prefix, System URL ) : void | ||
prefix | System | |
URL | System | |
Результат | void |
public enableCaching ( bool state ) : void | ||
state | bool | |
Результат | void |
public selectAttrNS ( System ns_URL, System ln ) : void | ||
ns_URL | System | /// |
ln | System | /// |
Результат | void |
public selectElement ( System en ) : void | ||
en | System | java.lang.String /// |
Результат | void |
public selectElementNS ( System ns_URL, System ln ) : void | ||
ns_URL | System | |
ln | System | java.lang.String /// |
Результат | void |
protected selectElementNS_D ( System ns_URL, System ln ) : void | ||
ns_URL | System | /// |
ln | System | /// |
Результат | void |
protected selectElementNS_F ( System ns_URL, System ln ) : void | ||
ns_URL | System | |
ln | System | |
Результат | void |
protected selectElementNS_P ( System ns_URL, System ln ) : void | ||
ns_URL | System | /// |
ln | System | /// |
Результат | void |
protected selectElement_D ( System en ) : void | ||
en | System | /// |
Результат | void |
protected selectElement_F ( System en ) : void | ||
en | System | /// |
Результат | void |
protected selectElement_P ( System en ) : void | ||
en | System | /// |
Результат | void |
protected selectNameSpace ( String en ) : void | ||
en | String | |
Результат | void |
protected static System.Collections.Hashtable nsHash | ||
Результат | System.Collections.Hashtable |