|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompressedNode
CompressedNode represents a Xindice Compressed Node. The compression system operates independently of the database and only requires a SymbolTable instance to perform compression/decompression.
Field Summary |
---|
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, 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, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Method Detail |
---|
boolean isDirty()
byte[] getDataBytes()
int getDataPos()
int getDataLen()
void setDataBytes(byte[] data, int pos, int len)
data
- The Node definition's byte arraypos
- The Node's positionlen
- The Node's lengthvoid setDataBytes(byte[] data)
data
- The Node definition's byte arrayvoid setDataPos(int pos)
pos
- The Node's positionvoid setDataLen(int len)
len
- The Node's lengthvoid load() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
- if an exception occursvoid unload() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
- if an exception occursboolean isLoaded()
short getSymbolID()
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |