|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CompressedNode represents a Xindice Compressed Node. The compression system operates independently of the database and only requires a SymbolTable instance to perform compression/decompression.
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
byte[] |
getDataBytes()
getDataBytes returns the byte array that defines this Node. |
int |
getDataLen()
getDataLen returns the length of the Node's definition in the byte array. |
int |
getDataPos()
getDataPos returns the offset into the Node definition's byte array that the Node starts at. |
short |
getSymbolID()
getSymbolID returns the Symbol ID for the current node. |
boolean |
isDirty()
isDirty returns whether or not the current Node (or any of its children) have been modified since being loaded. |
boolean |
isLoaded()
isLoaded returns whether or not the Node's definition has been loaded. |
void |
load()
load forces the Node to be graphed for this level. |
void |
setDataBytes(byte[] data)
setDataBytes sets the byte array that defines this Node. |
void |
setDataBytes(byte[] data,
int pos,
int len)
setDataBytes sets the definition and positional information for the Node. |
void |
setDataLen(int len)
setDataLen sets the length of the Node's definition in the byte array. |
void |
setDataPos(int pos)
setDataPos sets the offset into the Node definition's byte array that the Node starts at. |
void |
unload()
unload forces the Node to be unloaded for this level. |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Method Detail |
public boolean isDirty()
public byte[] getDataBytes()
public int getDataPos()
public int getDataLen()
public void setDataBytes(byte[] data, int pos, int len)
data
- The Node definition's byte arraypos
- The Node's positionlen
- The Node's lengthpublic void setDataBytes(byte[] data)
data
- The Node definition's byte arraypublic void setDataPos(int pos)
pos
- The Node's positionpublic void setDataLen(int len)
len
- The Node's lengthpublic void load() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
- if an exception occurspublic void unload() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
- if an exception occurspublic boolean isLoaded()
public short getSymbolID()
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |