com.fatdog.xmlEngine
Class QueryDocumentTree
java.lang.Object
com.fatdog.xmlEngine.NodeTree
com.fatdog.xmlEngine.QueryDocumentTree
- public class QueryDocumentTree
- extends NodeTree
A NodeTree
optimized to hold constructed nodes.
- Version:
- 0.6e
- Author:
- Howard Katz, howardk@fatdog.com
Fields inherited from class com.fatdog.xmlEngine.NodeTree |
ALL_NODES, ATEXT_IX_TYPE, ATTR, DOC_NODE, E_TEXT_FROM_CHAR, E_TEXT_TO_CHAR, ELEM, INTS_PER_ENTRY, LOCAL_KEY, NS_MASK, NS_SHIFT, PARENT, PREFIX_KEY, TEXT, TYPE, VOIDED_NODE |
Methods inherited from class com.fatdog.xmlEngine.NodeTree |
addAttributeNode, addElementTextNode, asString, asString, attributeText, countNodeTypes, elementHasContent, emitXml, evalAncestor, evalAncestor, evalParent_, evalParent, getAttributeName, getAttributeText, getAttrTextBuffer, getElementName, getElementText, getElemTextBuffer, getId, getIndexManager, getKeys, getLastAddedNode, getLocalKey, getNameKeys_base, getNameKeys, getNamespaceIndex, getNodeCount, getParent_BASE, getParent, getPrefixKey, getRawTree, getType, isFirstSibling_BASE, isLastSibling, namedAncestor, namedChildOfParent, newLeafNodeList, newNamedNodesAtRoot, newNamedParentOfNamedChild, newParentOf, newSiblingList, numAttributesOnElement, printNode, printNode, serialize, setElemTextBuffer, setId, singleNewline, sizeTextBuffer, string, string, subscript, toString, trim, type |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RESERVED
public static final int RESERVED
- See Also:
- Constant Field Values
ENCLOSED_RESULTS
public static final int ENCLOSED_RESULTS
- See Also:
- Constant Field Values
ELEMENT_CTOR
public static final int ELEMENT_CTOR
- See Also:
- Constant Field Values
QueryDocumentTree
public QueryDocumentTree(TreeWalker walker,
int numInitialEntries,
int allocationPolicy)
startElement
public int startElement(java.lang.String localName,
java.lang.String qName,
boolean isEnclosed)
addElementNode
public void addElementNode(int namespaceIx,
int[] keys,
int parent,
int priorSibling)
- Overrides:
addElementNode
in class NodeTree
endElement
public int endElement()
addAttribute
public void addAttribute(java.lang.String qName,
java.lang.String value)
reserveNodeForEnclosedResults
public int reserveNodeForEnclosedResults()
getEnclosedResults
public ResultList getEnclosedResults(int node)
isTopLevelNode
public boolean isTopLevelNode(int nodeId)
newConstructedTextNode
public ResultList newConstructedTextNode(int nodeId)
newConstructedElement
public ResultList newConstructedElement(int nodeId)
CopyNodesToQueryDocTree
public void CopyNodesToQueryDocTree(QueryDocumentTree destinationTree,
int fromNode)