|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NavExceptionHuge | |
|---|---|
| com.ximpleware.extended | |
| com.ximpleware.extended.xpath | |
| Uses of NavExceptionHuge in com.ximpleware.extended |
|---|
| Subclasses of NavExceptionHuge in com.ximpleware.extended | |
|---|---|
class |
PilotExceptionHuge
This class is the base class of all the exceptions of AutoPilotHuge. |
| Methods in com.ximpleware.extended that throw NavExceptionHuge | |
|---|---|
int |
VTDNavHuge.compareRawTokenString(int index,
String s)
New in 2.0 Compare the string against the token at the given index value. |
protected int |
VTDNavHuge.compareRawTokenString(long offset,
int len,
String s)
Lexicographically compare a string against a token with given offset and len, entities doesn't get resolved. |
int |
VTDNavHuge.compareTokens(int i1,
VTDNavHuge vn2,
int i2)
This method compares two VTD tokens of VTDNav objects The behavior of this method is like compare the strings corresponds to i1 and i2, meaning for text or attribute val, entities will be converted into the corresponding char |
int |
VTDNavHuge.compareTokenString(int index,
String s)
New in 2.0 Compare the string against the token at the given index value. |
protected int |
VTDNavHuge.compareTokenString(long offset,
int len,
String s)
|
int |
LocationPathExpr.computeContextSize(Predicate p,
VTDNavHuge vn)
|
boolean |
VTDNavHuge.contains(int index,
String s)
Test whether a given token contains s. notie that this function directly operates on the byte content of the token to avoid string creation |
boolean |
VTDNavHuge.endsWith(int index,
String s)
Test the end of token content at index i matches the content of s, notice that this is to save the string allocation cost of using String's built-in endsWidth |
boolean |
NodeTest.eval(VTDNavHuge vn)
|
int |
UnionExpr.evalNodeSet(VTDNavHuge vn)
|
int |
PathExpr.evalNodeSet(VTDNavHuge vn)
|
int |
LocationPathExpr.evalNodeSet(VTDNavHuge vn)
|
int |
FilterExpr.evalNodeSet(VTDNavHuge vn)
|
int |
AutoPilotHuge.evalXPath()
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 |
int |
VTDNavHuge.getAttrVal(String an)
Get the token index of the attribute value given an attribute name. |
int |
VTDNavHuge.getAttrValNS(String URL,
String ln)
Get the token index of the attribute value of given URL and local name. |
long[] |
VTDNavHuge.getContentFragment()
Get content fragment returns a long[2] encoding the offset and length of the byte segment of the content of current element, which is the byte segment between the starting tag and ending tag, null is returned if the current element is an empty element |
long[] |
VTDNavHuge.getElementFragment()
Return the offset (64-bit) and length (64-bit) of an element fragment |
ElementFragmentNsHuge |
VTDNavHuge.getElementFragmentNs()
|
int |
VTDNavHuge.getRawStringLength(int index)
|
long[] |
VTDNavHuge.getSiblingElementFragments(int i)
Return the byte offset and length of up to i sibling fragments. |
int |
VTDNavHuge.getStringLength(int index)
|
boolean |
VTDNavHuge.hasAttr(String an)
Test whether current element has an attribute with the matching name. "*" will match any attribute name, therefore is a test whether there is any attribute at all if namespace is disabled, this function will not distinguish between ns declaration and attribute otherwise, ns tokens are invisible Creation date: (11/16/03 5:50:26 PM) |
boolean |
VTDNavHuge.hasAttrNS(String URL,
String ln)
Test whether the current element has an attribute with matching namespace URL and localname. |
protected boolean |
VTDNavHuge.iterate_following(String en,
boolean special)
This function is called by selectElement_F in autoPilot |
protected boolean |
VTDNavHuge.iterate_followingNS(String URL,
String ln)
This function is called by selectElementNS_F in autoPilot |
protected boolean |
VTDNavHuge.iterate_preceding(String en,
int[] a,
boolean special)
This function is called by selectElement_P in autoPilot |
protected boolean |
VTDNavHuge.iterate_precedingNS(String URL,
String ln,
int[] a)
This function is called by selectElementNS_P in autoPilot |
boolean |
AutoPilotHuge.iterate()
Iterate over all the selected element nodes in document order. |
protected boolean |
VTDNavHuge.iterate(int dp,
String en,
boolean special)
This method is similar to getElementByName in DOM except it doesn't return the nodeset, instead it iterates over those nodes. |
protected int |
AutoPilotHuge.iterateAttr()
This method implements the attribute axis for XPath |
protected boolean |
VTDNavHuge.iterateNS(int dp,
String URL,
String ln)
This method is similar to getElementByName in DOM except it doesn't return the nodeset, instead it iterates over those nodes . |
protected int |
VTDNavHuge.lookupNS()
Test whether the URL is defined in the scope. |
boolean |
VTDNavHuge.matchElement(String en)
Test if the current element matches the given name. |
boolean |
VTDNavHuge.matchElementNS(String URL,
String ln)
Test whether the current element matches the given namespace URL and localname. |
boolean |
VTDNavHuge.matchRawTokenString(int index,
String s)
Match the string against the token at the given index value. |
boolean |
VTDNavHuge.matchTokens(int i1,
VTDNavHuge vn2,
int i2)
This method matches two VTD tokens of VTDNav objects |
boolean |
VTDNavHuge.matchTokenString(int index,
String s)
Match the string against the token at the given index value. |
double |
VTDNavHuge.parseDouble(int index)
Convert a vtd token into a double. |
float |
VTDNavHuge.parseFloat(int index)
Convert a vtd token into a float. |
int |
VTDNavHuge.parseInt(int index)
Convert a vtd token into an int. |
protected int |
VTDNavHuge.parseInt(int index,
int radix)
Convert a vtd token into an int, with the given radix. |
long |
VTDNavHuge.parseLong(int index)
Convert a vtd token into a long. |
protected long |
VTDNavHuge.parseLong(int index,
int radix)
Convert a vtd token into a long, with the given radix. |
boolean |
VTDNavHuge.startsWith(int index,
String s)
Test the start of token content at index i matches the content of s, notice that this is to save the string allocation cost of using String's built-in startsWidth |
boolean |
VTDNavHuge.toElement(int direction)
A generic navigation method. |
boolean |
VTDNavHuge.toElement(int direction,
String en)
A generic navigation method. |
boolean |
VTDNavHuge.toElementNS(int direction,
String URL,
String ln)
A generic navigation method with namespace support. |
String |
VTDNavHuge.toNormalizedString(int index)
This method normalizes a token into a string in a way that resembles DOM. |
String |
VTDNavHuge.toRawString(int index)
Convert a token at the given index to a String, (built-in entity and char references not resolved) (entities and char references not expanded). |
protected String |
VTDNavHuge.toRawString(long os,
int len)
|
String |
VTDNavHuge.toRawStringLowerCase(int index)
|
protected String |
VTDNavHuge.toRawStringLowerCase(long os,
int len)
|
String |
VTDNavHuge.toRawStringUpperCase(int index)
|
protected String |
VTDNavHuge.toRawStringUpperCase(long os,
int len)
|
String |
VTDNavHuge.toString(int index)
Convert a token at the given index to a String, (entities and char references resolved). |
protected String |
VTDNavHuge.toString(long os,
int len)
|
String |
VTDNavHuge.toStringLowerCase(int index)
Convert a token at the given index to a String and any upper case character will be converted to lower case, (entities and char references resolved). |
protected String |
VTDNavHuge.toStringLowerCase(long os,
int len)
Convert the byte content segment (in terms of offset and length) to String, upper case characters are converted to lower case |
String |
VTDNavHuge.toStringUpperCase(int index)
Convert a token at the given index to a String and any lower case character will be converted to upper case, (entities and char references resolved). |
protected String |
VTDNavHuge.toStringUpperCase(long os,
int len)
Convert the byte content segment (in terms of offset and length) to String, lower case characters are converted to upper case |
| Uses of NavExceptionHuge in com.ximpleware.extended.xpath |
|---|
| Methods in com.ximpleware.extended.xpath that throw NavExceptionHuge | |
|---|---|
boolean |
Step.eval(VTDNavHuge vn)
|
boolean |
LocationPathNode.eval(VTDNavHuge vn)
|
boolean |
Step.eval(VTDNavHuge vn,
Predicate p)
|
int |
VariableExpr.evalNodeSet(VTDNavHuge vn)
|
abstract int |
Expr.evalNodeSet(VTDNavHuge vn)
|
boolean |
Step.evalPredicates(VTDNavHuge vn)
|
boolean |
Step.evalPredicates(VTDNavHuge vn,
Predicate p)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||