A B C D E F G H I L M N O P R S T U V W X

A

append(int[]) - Method in class com.ximpleware.FastIntBuffer
Append an int array to the end of this buffer instance
append(int) - Method in class com.ximpleware.FastIntBuffer
Append a single int to the end of this buffer Instance
append(long[]) - Method in class com.ximpleware.FastLongBuffer
Append single long to the end of array buffer.
append(long) - Method in class com.ximpleware.FastLongBuffer
Append an integer to the end of this array buffer
ATTR - Static variable in class com.ximpleware.AutoPilot
 
attr_name_array - Variable in class com.ximpleware.VTDGen
 
ATTR_NS - Static variable in class com.ximpleware.AutoPilot
 
AutoPilot - Class in com.ximpleware
XimpleWare's AutoPilot implementation encapsulating node iterator and XPath.
AutoPilot(VTDNav) - Constructor for class com.ximpleware.AutoPilot
AutoPilot constructor comment.
AutoPilot() - Constructor for class com.ximpleware.AutoPilot
Use this constructor for delayed binding to VTDNav which allows the reuse of XPath expression

B

bind(VTDNav) - Method in class com.ximpleware.AutoPilot
Bind is to replace rebind() and setVTDNav() It resets the internal state of AutoPilot so one can attach a VTDNav object to the autopilot
bind(VTDNav) - Method in class com.ximpleware.BookMark
bind a BookMark object to a VTDNav object the cursor position is set to an invalid state
bind(VTDNav) - Method in class com.ximpleware.NodeRecorder
 
bind(VTDNav) - Method in class com.ximpleware.XMLModifier
Attach master document to this instance of XMLModifier so all the operations occuring aftewards are based on this instance of VTDNav
BookMark - Class in com.ximpleware
Bookmark is a single instance of a node position.
BookMark() - Constructor for class com.ximpleware.BookMark
Constructor for BookMark Take no argument
BookMark(VTDNav) - Constructor for class com.ximpleware.BookMark
BookMark constructor with an instance of vn as input
BUF_SZ_EXPO - Static variable in class com.ximpleware.NodeRecorder
 

C

clear() - Method in class com.ximpleware.FastIntBuffer
set the size of int buffer to zero, capacity untouched so int buffer can be reused without any unnecessary and additional allocation
clear() - Method in class com.ximpleware.FastLongBuffer
set teh size of long buffer to zero, capacity untouched so long buffer can be reused without any unnecessary and additional allocation
clear() - Method in class com.ximpleware.NodeRecorder
Clear will erase all the nodes, internal buffers are reused
clear() - Method in class com.ximpleware.VTDGen
Clear internal states so VTDGEn can process the next file.
com.ximpleware - package com.ximpleware
 
compareRawTokenString(int, String) - Method in class com.ximpleware.VTDNav
New in 2.0 Compare the string against the token at the given index value.
compareTokens(int, VTDNav, int) - Method in class com.ximpleware.VTDNav
New in 2.0 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
compareTokenString(int, String) - Method in class com.ximpleware.VTDNav
New in 2.0 Compare the string against the token at the given index value.

D

declareXPathNameSpace(String, String) - Method in class com.ximpleware.AutoPilot
This function creates URL ns prefix and is intended to be called prior to selectXPath
deepEquals(BookMark) - Method in class com.ximpleware.BookMark
 
DESCENDANT - Static variable in class com.ximpleware.AutoPilot
 
DESCENDANT_NS - Static variable in class com.ximpleware.AutoPilot
 
dumpXML(OutputStream) - Method in class com.ximpleware.VTDNav
Dump the in memory XML text into output stream
dumpXML(String) - Method in class com.ximpleware.VTDNav
Dump the in-memory copy of XML text into a file

E

ElementFragmentNs - Class in com.ximpleware
ElementFragmentNs represents a name-space compensated element fragment
equals(BookMark) - Method in class com.ximpleware.BookMark
 
equals(Object) - Method in class com.ximpleware.BookMark
 
evalXPath() - Method in class com.ximpleware.AutoPilot
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() - Method in class com.ximpleware.AutoPilot
evalXPathToBoolean() evaluates the xpath expression to a boolean
evalXPathToNumber() - Method in class com.ximpleware.AutoPilot
evalXPathToNumber() evaluates the xpath expression to a double
evalXPathToString() - Method in class com.ximpleware.AutoPilot
evalXPathToString() evaluates the xpath expression to a String

F

FastIntBuffer - Class in com.ximpleware
A fast, unsynchronized, chunk-based int buffer
FastIntBuffer() - Constructor for class com.ximpleware.FastIntBuffer
FastIntBuffer constructor comment.
FastIntBuffer(int) - Constructor for class com.ximpleware.FastIntBuffer
Constructor with adjustable buffer page size of the value bfz
FastLongBuffer - Class in com.ximpleware
A fast, unsynchronized, chunk-based long buffer for storing LCs and VTD.
FastLongBuffer() - Constructor for class com.ximpleware.FastLongBuffer
FastLongBuffer constructor comment.
FastLongBuffer(int) - Constructor for class com.ximpleware.FastLongBuffer
Construct a FastLongBuffer instance with specified page size
FastLongBuffer(int, int) - Constructor for class com.ximpleware.FastLongBuffer
Construct a FastLongBuffer instance with specified page size
FC - Static variable in class com.ximpleware.VTDNav
 
FIRST_CHILD - Static variable in class com.ximpleware.VTDNav
 
FOLLOWING - Static variable in class com.ximpleware.AutoPilot
 
FOLLOWING_NS - Static variable in class com.ximpleware.AutoPilot
 
FORMAT_ASCII - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ASCII - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_1 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_1 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_10 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_10 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_11 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_11 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_12 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_12 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_13 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_13 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_14 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_14 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_15 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_15 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_16 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_16 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_2 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_2 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_3 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_3 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_4 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_4 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_5 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_5 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_6 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_6 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_7 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_7 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_8 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_8 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_ISO_8859_9 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_ISO_8859_9 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_UTF8 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_UTF8 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_UTF_16BE - Static variable in class com.ximpleware.VTDGen
 
FORMAT_UTF_16BE - Static variable in class com.ximpleware.VTDNav
 
FORMAT_UTF_16LE - Static variable in class com.ximpleware.VTDGen
 
FORMAT_UTF_16LE - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1250 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1250 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1251 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1251 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1252 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1252 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1253 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1253 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1254 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1254 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1255 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1255 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1256 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1256 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1257 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1257 - Static variable in class com.ximpleware.VTDNav
 
FORMAT_WIN_1258 - Static variable in class com.ximpleware.VTDGen
 
FORMAT_WIN_1258 - Static variable in class com.ximpleware.VTDNav
 

G

getAttrCount() - Method in class com.ximpleware.VTDNav
Return the attribute count of the element at the cursor position.
getAttrVal(String) - Method in class com.ximpleware.VTDNav
Get the token index of the attribute value given an attribute name.
getAttrValNS(String, String) - Method in class com.ximpleware.VTDNav
Get the token index of the attribute value of given URL and local name.
getCapacity() - Method in class com.ximpleware.FastIntBuffer
Returns the total allocated capacity of this buffer instance.
getCapacity() - Method in class com.ximpleware.FastLongBuffer
Get the capacity of the buffer.
getCurrentDepth() - Method in class com.ximpleware.VTDNav
Get the depth (>=0) of the current element.
getCurrentIndex() - Method in class com.ximpleware.VTDNav
Get the index value of the current element.
getElementFragment() - Method in class com.ximpleware.VTDNav
Get the starting offset and length of an element encoded in a long, upper 32 bits is length; lower 32 bits is offset Unit is in byte.
getElementFragmentNs() - Method in class com.ximpleware.VTDNav
getElementFragmentNS returns a ns aware version of the element fragment encapsulated in an ElementFragment object
getEncoding() - Method in class com.ximpleware.VTDNav
Get the encoding of the XML document.
getExprString() - Method in class com.ximpleware.AutoPilot
Convert the expression to a string For debugging purpose
getIndexSize() - Method in class com.ximpleware.VTDGen
Precompute the size of VTD+XML index
getIndexSize() - Method in class com.ximpleware.VTDNav
Precompute the size of VTD+XML index
getIntArray(int, int) - Method in class com.ximpleware.FastIntBuffer
Returns a single int array representing every int in this buffer instance
getLongArray(int, int) - Method in class com.ximpleware.FastLongBuffer
Return a selected chuck of long buffer as a long array.
getNav() - Method in class com.ximpleware.BookMark
This method returns the embedded VTDNav Object
getNav() - Method in class com.ximpleware.VTDGen
This method returns the VTDNav object after parsing, it also cleans internal state so VTDGen can process the next file.
getNestingLevel() - Method in class com.ximpleware.VTDNav
Get the maximum nesting depth of the XML document (>0).
getNext() - Method in class com.ximpleware.TextIter
Get the index vals for the text nodes in document order.
getOffsetLen() - Method in class com.ximpleware.ElementFragmentNs
Get the long encoding the len and offset of uncompensated element fragment
getPageSize() - Method in class com.ximpleware.FastIntBuffer
Returns the page size of this buffer instance.
getPageSize() - Method in class com.ximpleware.FastLongBuffer
Get the buffer page size.
getRootIndex() - Method in class com.ximpleware.VTDNav
Get root index value , which is the index val of root element
getSize() - Method in class com.ximpleware.ElementFragmentNs
getSize gets the byte length of ns compensated fragment in its source encoding format
getSize(int) - Method in class com.ximpleware.ElementFragmentNs
This method returns the size of the transcoded byte representation of the ns compensated element fragment
getText() - Method in class com.ximpleware.VTDNav
This method returns of the token index of the type character data or CDATA.
getTokenCount() - Method in class com.ximpleware.VTDNav
Get total number of VTD tokens for the current XML document.
getTokenDepth(int) - Method in class com.ximpleware.VTDNav
Get the depth value of a token (>=0).
getTokenLength(int) - Method in class com.ximpleware.VTDNav
Get the token length at the given index value please refer to VTD spec for more details Length is in terms of the UTF char unit For prefixed tokens, it is the qualified name length.
getTokenOffset(int) - Method in class com.ximpleware.VTDNav
Get the starting offset (unit in native char) of the token at the given index.
getTokenType(int) - Method in class com.ximpleware.VTDNav
Get the token type of the token at the given index value.
getUpdatedDocumentSize() - Method in class com.ximpleware.XMLModifier
Compute the size of the updated XML document without composing it
getXML() - Method in class com.ximpleware.VTDNav
Get the XML document

H

hasAttr(String) - Method in class com.ximpleware.VTDNav
Test whether current element has an attribute with the matching name.
hasAttrNS(String, String) - Method in class com.ximpleware.VTDNav
Test whether the current element has an attribute with matching namespace URL and localname.
hashCode() - Method in class com.ximpleware.BookMark
 

I

IndexReadException - Exception in com.ximpleware
IndexReadException is thrown when there are exception conditions during index loading
IndexReadException(String) - Constructor for exception com.ximpleware.IndexReadException
 
IndexReadException() - Constructor for exception com.ximpleware.IndexReadException
 
IndexWriteException - Exception in com.ximpleware
IndexWriteException is thrown when there are exception condition when wrting VTD+XML index
IndexWriteException(String) - Constructor for exception com.ximpleware.IndexWriteException
 
IndexWriteException() - Constructor for exception com.ximpleware.IndexWriteException
 
insertAfterElement(byte[]) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the byte array b after the element
insertAfterElement(ElementFragmentNs) - Method in class com.ximpleware.XMLModifier
Insert a namespace compensated element after cursor element
insertAfterElement(byte[], int, int) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b after the element
insertAfterElement(int, byte[], int, int) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded array of bytes of a segment of the byte array b after the element
insertAfterElement(byte[], long) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b after the element, l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
insertAfterElement(int, byte[], long) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b (transcode into a byte array) after the element, l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
insertAfterElement(int, byte[]) - Method in class com.ximpleware.XMLModifier
Insert a byte array of given encoding into the master document transcoding is done underneath to ensure the correctness of output
insertAfterElement(String) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the byte value of s after the element
insertAttribute(String) - Method in class com.ximpleware.XMLModifier
Insert an attribute after the starting tag This method will first call getCurrentIndex() to get the cursor index value if the index is of type "starting tag", then the attribute is inserted after the starting tag
insertAttribute(byte[]) - Method in class com.ximpleware.XMLModifier
Insert a byte arry of an attribute after the starting tag This method will first call getCurrentIndex() to get the cursor index value if the index is of type "starting tag", then teh attribute is inserted after the starting tag
insertAttribute(int, byte[]) - Method in class com.ximpleware.XMLModifier
Insert the transcoded representation of a byte arry of an attribute after the starting tag This method will first call getCurrentIndex() to get the cursor index value if the index is of type "starting tag", then teh attribute is inserted after the starting tag
insertBeforeElement(byte[]) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the byte array b before the element
insertBeforeElement(int, byte[]) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded representatin of the byte array b before the element
insertBeforeElement(ElementFragmentNs) - Method in class com.ximpleware.XMLModifier
Insert a namespace compensated fragment before the cursor element
insertBeforeElement(byte[], int, int) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b before the element
insertBeforeElement(int, byte[], int, int) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded representation of a segment of the byte array b before the element
insertBeforeElement(byte[], long) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b before the element l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
insertBeforeElement(int, byte[], long) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded representation of a segment of the byte array b before the element l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
insertBeforeElement(String) - Method in class com.ximpleware.XMLModifier
This method will first call getCurrentIndex() to get the cursor index value then insert the byte value of s before the element
insertBytesAt(int, byte[]) - Method in class com.ximpleware.XMLModifier
insert the byte content into XML
insertBytesAt(int, byte[], int, int) - Method in class com.ximpleware.XMLModifier
Insert a segment of the byte content into XML
intAt(int) - Method in class com.ximpleware.FastIntBuffer
Get the int at the location specified by index.
iterate() - Method in class com.ximpleware.AutoPilot
Iterate over all the selected element nodes in document order.
iterate() - Method in class com.ximpleware.NodeRecorder
This method set the cursor in VTDNav to the nodes as recorded in NodeRecorder, and return the output of "getCurrentIndex()" It is important to notice that you can only go forward, not backward

L

LAST_CHILD - Static variable in class com.ximpleware.VTDNav
 
LC - Static variable in class com.ximpleware.VTDNav
 
loadIndex(byte[]) - Method in class com.ximpleware.VTDGen
This method loads the VTD+XML from a byte array
loadIndex(InputStream) - Method in class com.ximpleware.VTDGen
This method loads the VTD+XML from an input stream
loadIndex(String) - Method in class com.ximpleware.VTDGen
This method loads the VTD+XML from a file
longAt(int) - Method in class com.ximpleware.FastLongBuffer
Get the long val at given index value.
lower32At(int) - Method in class com.ximpleware.FastLongBuffer
Get the lower 32 bit of the integer at the given index.

M

matchElement(String) - Method in class com.ximpleware.VTDNav
Test if the current element matches the given name.
matchElementNS(String, String) - Method in class com.ximpleware.VTDNav
Test whether the current element matches the given namespace URL and localname.
matchRawTokenString(int, String) - Method in class com.ximpleware.VTDNav
Match the string against the token at the given index value.
matchTokens(int, VTDNav, int) - Method in class com.ximpleware.VTDNav
This method matches two VTD tokens of VTDNav objects
matchTokenString(int, String) - Method in class com.ximpleware.VTDNav
Match the string against the token at the given index value.
MAX_DEPTH - Static variable in class com.ximpleware.VTDGen
 
MAX_PREFIX_LENGTH - Static variable in class com.ximpleware.VTDGen
 
MAX_QNAME_LENGTH - Static variable in class com.ximpleware.VTDGen
 
MAX_TOKEN_LENGTH - Static variable in class com.ximpleware.VTDGen
 
modifyEntry(int, int) - Method in class com.ximpleware.FastIntBuffer
Assigns a new int value to location index of the buffer instance.
modifyEntry(int, long) - Method in class com.ximpleware.FastLongBuffer
Modify the value at the index to a new val.
ModifyException - Exception in com.ximpleware
XMLModifier throws ModifierException when there is an exception condition during modification of XML
ModifyException() - Constructor for exception com.ximpleware.ModifyException
 
ModifyException(String) - Constructor for exception com.ximpleware.ModifyException
 

N

NavException - Exception in com.ximpleware
This exception is for any exception conditions during navigation phase.
NavException() - Constructor for exception com.ximpleware.NavException
NavException constructor comment.
NavException(String) - Constructor for exception com.ximpleware.NavException
NavException constructor comment.
NEXT_SIBLING - Static variable in class com.ximpleware.VTDNav
 
NodeRecorder - Class in com.ximpleware
Node record allows one to record the node position of VTDNav.
NodeRecorder() - Constructor for class com.ximpleware.NodeRecorder
The parameter-less constructor
NodeRecorder(VTDNav) - Constructor for class com.ximpleware.NodeRecorder
 
NS - Static variable in class com.ximpleware.VTDNav
 

O

output(OutputStream) - Method in class com.ximpleware.XMLModifier
This method applies the modification to the XML document and writes the output byte content accordingly to an outputStream Notice that output is not guaranteed to be well-formed
output(String) - Method in class com.ximpleware.XMLModifier
Generate the updated output XML document and write it into a file of given name
overWrite(int, byte[]) - Method in class com.ximpleware.VTDNav
overWrite is introduced in version 2.0 that allows you to directly overwrite the XML content if the token is long enough If the operation is successful, the new content along with whitespaces will fill the available token space, and there will be no need to regenerate the VTD and LCs !!! The current version (2.0) only allows overwrites on attribute value, character data, and CDATA Consider the XML below: good After overwriting the token "good" with "bad," the new XML looks like: bad as you can see, "goo" is replaced with "bad" character-by-character, and the remaining "d" is replace with a white space
overWrite(int, byte[], int, int) - Method in class com.ximpleware.VTDNav
overWrite is introduced in version 2.0 that allows you to directly overwrite the XML content if the token is long enough If the operation is successful, white spaces will be used to fill the available token space, and there will be no need to regenerate the VTD and LCs The current version (2.0) only allows overwrites on attribute value, character data, and CDATA Consider the XML below: good After overwriting the token "good" with "bad," the new XML looks like: bad as you can see, "goo" is replaced with "bad", and the remaining "d" is replace with a white space

P

P - Static variable in class com.ximpleware.VTDNav
 
PARENT - Static variable in class com.ximpleware.VTDNav
 
parse(boolean) - Method in class com.ximpleware.VTDGen
Generating VTD tokens and Location cache info.
parseDouble(int) - Method in class com.ximpleware.VTDNav
Convert a vtd token into a double.
ParseException - Exception in com.ximpleware
This class is for any exception condition in the parsing phase.
ParseException() - Constructor for exception com.ximpleware.ParseException
ParseException constructor comment.
ParseException(String) - Constructor for exception com.ximpleware.ParseException
ParseException constructor comment.
parseFile(String, boolean) - Method in class com.ximpleware.VTDGen
This method parses the XML file and returns a boolean indicating if it is successful or not.
parseFloat(int) - Method in class com.ximpleware.VTDNav
Convert a vtd token into a float.
parseHttpUrl(String, boolean) - Method in class com.ximpleware.VTDGen
This method retrieves an XML document from the net using HTTP request If the returned content type is "application xml" then it will proceed with the parsing.
parseInt(int) - Method in class com.ximpleware.VTDNav
Convert a vtd token into an int.
parseLong(int) - Method in class com.ximpleware.VTDNav
Convert a vtd token into a long.
pop() - Method in class com.ximpleware.VTDNav
Load the context info from ContextBuffer.
PRECEDING - Static variable in class com.ximpleware.AutoPilot
 
PRECEDING_NS - Static variable in class com.ximpleware.AutoPilot
 
PREV_SIBLING - Static variable in class com.ximpleware.VTDNav
 
PS - Static variable in class com.ximpleware.VTDNav
 
push() - Method in class com.ximpleware.VTDNav
Store the context info into the ContextBuffer.

R

R - Static variable in class com.ximpleware.VTDNav
 
record() - Method in class com.ximpleware.NodeRecorder
This function records the position of VN into an internal buffer
recordCursorPosition(VTDNav) - Method in class com.ximpleware.BookMark
Record the cursor position This method is implemented to be lenient on loading in that it can load nodes from any VTDNav object if vn is null, return false
recordCursorPosition() - Method in class com.ximpleware.BookMark
Record cursor position of the VTDNav object as embedded in the bookmark
remove() - Method in class com.ximpleware.XMLModifier
Removes content from the master XML document It first calls getCurrentIndex() if the result is a starting tag, then the entire element referred to by the starting tag is removed If the result is an attribute name or ns node, then the corresponding attribute name/value pair is removed If the token type is one of text, CDATA or commment, then the entire node, including the starting and ending delimiting text surrounding the content, is removed
remove(long) - Method in class com.ximpleware.XMLModifier
Remove a byte segment from XML.
removeAttribute(int) - Method in class com.ximpleware.XMLModifier
Remove an attribute name value pair from the master document.
removeContent(int, int) - Method in class com.ximpleware.XMLModifier
Remove a segment of byte content from master XML doc.
removeToken(int) - Method in class com.ximpleware.XMLModifier
Remove the token content.
reset() - Method in class com.ximpleware.XMLModifier
This method resets the internal state of XMLModify instance so it can be reused
resetPointer() - Method in class com.ximpleware.NodeRecorder
start() will set the pointer to the first node in NodeRecorder This method is called when one wants to read the nodes in the nodeRecorder
resetXPath() - Method in class com.ximpleware.AutoPilot
Reset the XPath so the XPath Expression can be reused and revaluated in anther context position
resize(int) - Method in class com.ximpleware.FastIntBuffer
 
ROOT - Static variable in class com.ximpleware.VTDNav
 

S

sampleState(FastIntBuffer) - Method in class com.ximpleware.VTDNav
This is for debugging purpose
selectElement(String) - Method in class com.ximpleware.AutoPilot
Select the element name before iterating.
selectElementNS(String, String) - Method in class com.ximpleware.AutoPilot
Select the element name (name space version) before iterating.
selectXPath(String) - Method in class com.ximpleware.AutoPilot
This method selects the string representing XPath expression Usually evalXPath is called afterwards
setCursorPosition(VTDNav) - Method in class com.ximpleware.BookMark
set cursor position This method can only set the cursor position of an VTDNav object identical to its internal copy
setCursorPosition() - Method in class com.ximpleware.BookMark
Set the cursor position of VTDNav object corresponding to the internal reference position of the embedded VTDNav object
setDoc(byte[]) - Method in class com.ximpleware.VTDGen
Set the XMLDoc container.
setDoc(byte[], int, int) - Method in class com.ximpleware.VTDGen
Set the XMLDoc container.
setDoc_BR(byte[]) - Method in class com.ximpleware.VTDGen
The buffer-reuse version of setDoc The concept is to reuse LC and VTD buffer for XML parsing, instead of allocating every time
setDoc_BR(byte[], int, int) - Method in class com.ximpleware.VTDGen
The buffer-reuse version of setDoc The concept is to reuse LC and VTD buffer for XML parsing, instead of allocating every time
SIMPLE - Static variable in class com.ximpleware.AutoPilot
 
SIMPLE_NS - Static variable in class com.ximpleware.AutoPilot
 
size() - Method in class com.ximpleware.FastIntBuffer
Returns the total number of int values in the buffer instance
size() - Method in class com.ximpleware.FastLongBuffer
Get the total number of longs in the buffer.

T

TextIter - Class in com.ximpleware
This class iterates through all text nodes of an element.
TextIter() - Constructor for class com.ximpleware.TextIter
TextIter constructor comment.
toBytes(int) - Method in class com.ximpleware.ElementFragmentNs
Transcode the ElementFragmentNS object to a byte array according to the destination encoding format
toBytes() - Method in class com.ximpleware.ElementFragmentNs
Return a byte array of an element with namespace compensation in its orginal encoding format
toElement(int) - Method in class com.ximpleware.VTDNav
A generic navigation method.
toElement(int, String) - Method in class com.ximpleware.VTDNav
A generic navigation method.
toElementNS(int, String, String) - Method in class com.ximpleware.VTDNav
A generic navigation method with namespace support.
toIntArray() - Method in class com.ximpleware.FastIntBuffer
Returns the int array corresponding to all int values in this buffer instance
TOKEN_ATTR_NAME - Static variable in class com.ximpleware.VTDGen
 
TOKEN_ATTR_NAME - Static variable in class com.ximpleware.VTDNav
 
TOKEN_ATTR_NS - Static variable in class com.ximpleware.VTDGen
 
TOKEN_ATTR_NS - Static variable in class com.ximpleware.VTDNav
 
TOKEN_ATTR_VAL - Static variable in class com.ximpleware.VTDGen
 
TOKEN_ATTR_VAL - Static variable in class com.ximpleware.VTDNav
 
TOKEN_CDATA_VAL - Static variable in class com.ximpleware.VTDGen
 
TOKEN_CDATA_VAL - Static variable in class com.ximpleware.VTDNav
 
TOKEN_CHARACTER_DATA - Static variable in class com.ximpleware.VTDGen
 
TOKEN_CHARACTER_DATA - Static variable in class com.ximpleware.VTDNav
 
TOKEN_COMMENT - Static variable in class com.ximpleware.VTDGen
 
TOKEN_COMMENT - Static variable in class com.ximpleware.VTDNav
 
TOKEN_DEC_ATTR_NAME - Static variable in class com.ximpleware.VTDGen
 
TOKEN_DEC_ATTR_NAME - Static variable in class com.ximpleware.VTDNav
 
TOKEN_DEC_ATTR_VAL - Static variable in class com.ximpleware.VTDGen
 
TOKEN_DEC_ATTR_VAL - Static variable in class com.ximpleware.VTDNav
 
TOKEN_DOCUMENT - Static variable in class com.ximpleware.VTDGen
 
TOKEN_DOCUMENT - Static variable in class com.ximpleware.VTDNav
 
TOKEN_DTD_VAL - Static variable in class com.ximpleware.VTDGen
 
TOKEN_DTD_VAL - Static variable in class com.ximpleware.VTDNav
 
TOKEN_ENDING_TAG - Static variable in class com.ximpleware.VTDGen
 
TOKEN_ENDING_TAG - Static variable in class com.ximpleware.VTDNav
 
TOKEN_PI_NAME - Static variable in class com.ximpleware.VTDGen
 
TOKEN_PI_NAME - Static variable in class com.ximpleware.VTDNav
 
TOKEN_PI_VAL - Static variable in class com.ximpleware.VTDGen
 
TOKEN_PI_VAL - Static variable in class com.ximpleware.VTDNav
 
TOKEN_STARTING_TAG - Static variable in class com.ximpleware.VTDGen
 
TOKEN_STARTING_TAG - Static variable in class com.ximpleware.VTDNav
 
toLongArray() - Method in class com.ximpleware.FastLongBuffer
Convert all longs into a long array.
toNormalizedString(int) - Method in class com.ximpleware.VTDNav
This method normalizes a token into a string in a way that resembles DOM.
toRawString(int) - Method in class com.ximpleware.VTDNav
Convert a token at the given index to a String, (built-in entity and char references not resolved) (entities and char references not expanded).
toRawString(int, int) - Method in class com.ximpleware.VTDNav
 
toString(int) - Method in class com.ximpleware.VTDNav
Convert a token at the given index to a String, (entities and char references resolved).
toString(int, int) - Method in class com.ximpleware.VTDNav
Convert the byte content segment (in terms of offset and length) to String
touch(VTDNav) - Method in class com.ximpleware.TextIter
Obtain the current navigation position and element info from VTDNav.
TranscodeException - Exception in com.ximpleware
TranscodeException is thrown when there is exception condition (in XMLModifier) for transcoding characters
TranscodeException(String) - Constructor for exception com.ximpleware.TranscodeException
 
TranscodeException() - Constructor for exception com.ximpleware.TranscodeException
 

U

unbind() - Method in class com.ximpleware.BookMark
separate a bookMark object apart from its embedded VTDNav instance
UNDEFINED - Static variable in class com.ximpleware.AutoPilot
 
updateElementName(String) - Method in class com.ximpleware.XMLModifier
Replace the cursor element's name with a new name
updateToken(int, byte[]) - Method in class com.ximpleware.XMLModifier
Update the token with the given byte array content,
updateToken(int, byte[], int) - Method in class com.ximpleware.XMLModifier
Update the token with the transcoded representation of given byte array content,
updateToken(int, byte[], int, int) - Method in class com.ximpleware.XMLModifier
Update token with a segment of byte array (in terms of offset and length)
updateToken(int, byte[], int, int, int) - Method in class com.ximpleware.XMLModifier
Update token with the transcoded representation of a segment of byte array (in terms of offset and length)
updateToken(int, String) - Method in class com.ximpleware.XMLModifier
Update the token with the given string value, notice that string will be converted into byte array according to the encoding of the master document
upper32At(int) - Method in class com.ximpleware.FastLongBuffer
Return the upper 32 bit of the long at the index.

V

VTDException - Exception in com.ximpleware
VTDException is the root exception for all VTD-XML's exception
VTDException(String) - Constructor for exception com.ximpleware.VTDException
 
VTDException() - Constructor for exception com.ximpleware.VTDException
 
VTDGen - Class in com.ximpleware
VTD Generator implementation.
VTDGen() - Constructor for class com.ximpleware.VTDGen
VTDGen constructor method.
VTDNav - Class in com.ximpleware
The VTD Navigator allows one to navigate XML document represented in VTD records and Location caches.

W

writeIndex(OutputStream) - Method in class com.ximpleware.VTDGen
This method writes the VTD+XML into an outputStream
writeIndex(String) - Method in class com.ximpleware.VTDGen
This method writes the VTD+XML file into a file of the given name
writeIndex(OutputStream) - Method in class com.ximpleware.VTDNav
Write VTDNav's internal structure into an OutputStream
writeIndex(String) - Method in class com.ximpleware.VTDNav
Write VTDNav's internal structure into a VTD+XML format
writeToOutputStream(OutputStream) - Method in class com.ximpleware.ElementFragmentNs
Write ns compensated fragments (bytes in original encoding format) to outputstream
writeToOutputStream(OutputStream, int) - Method in class com.ximpleware.ElementFragmentNs
Write the transcode byte representation of an ns-compensated element fragment to the output stream

X

XMLModifier - Class in com.ximpleware
XMLModifier offers an easy-to-use interface for users to take advantage of the incremental update of VTD-XML The XML modifier assumes there is a master document on which the modification is applied: users can remove an element, update a token, replace an element name, or insert new content anywhere in the document The process: * The modification operations are recorded first * The output() is called to generate output document
XMLModifier(VTDNav) - Constructor for class com.ximpleware.XMLModifier
Constructor for XMLModifier that takes VTDNav object as the master document
XMLModifier() - Constructor for class com.ximpleware.XMLModifier
Argument-less constructor for XMLModifier, needs to call bind to attach the master document to an instance of XMLModifier
XMLModifier.ByteSegment - Class in com.ximpleware
 
XMLModifier.ByteSegment() - Constructor for class com.ximpleware.XMLModifier.ByteSegment
 
XPathEvalException - Exception in com.ximpleware
This exception is thrown when there is something during XPath evaluation
XPathEvalException(String) - Constructor for exception com.ximpleware.XPathEvalException
 
XPathParseException - Exception in com.ximpleware
This exception is thrown when an error occured during the construction of XPathExpr
XPathParseException(String) - Constructor for exception com.ximpleware.XPathParseException
 

A B C D E F G H I L M N O P R S T U V W X