| java.lang.Object org.apache.xml.dtm.ref.DTMDefaultBase org.apache.xml.dtm.ref.DTMDefaultBaseTraversers
All known Subclasses: org.apache.xml.dtm.ref.DTMDefaultBaseIterators,
DTMDefaultBaseTraversers | abstract public class DTMDefaultBaseTraversers extends DTMDefaultBase (Code) | | This class implements the traversers for DTMDefaultBase.
PLEASE NOTE that the public interface for all traversers should be
in terms of DTM Node Handles... but they may use the internal node
identity indices within their logic, for efficiency's sake. Be very
careful to avoid confusing these when maintaining this code.
|
Constructor Summary | |
public | DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing) Construct a DTMDefaultBaseTraversers object from a DOM node. | public | DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable) Construct a DTMDefaultBaseTraversers object from a DOM node. |
Method Summary | |
public DTMAxisTraverser | getAxisTraverser(int axis) This returns a stateless "traverser", that can navigate
over an XPath axis, though perhaps not in document order.
Parameters: axis - One of Axes.ANCESTORORSELF, etc. |
DTMDefaultBaseTraversers | public DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing)(Code) | | Construct a DTMDefaultBaseTraversers object from a DOM node.
Parameters: mgr - The DTMManager who owns this DTM. Parameters: source - The object that is used to specify the construction source. Parameters: dtmIdentity - The DTM identity ID for this DTM. Parameters: whiteSpaceFilter - The white space filter for this DTM, which maybe null. Parameters: xstringfactory - The factory to use for creating XMLStrings. Parameters: doIndexing - true if the caller considers it worth it to useindexing schemes. |
DTMDefaultBaseTraversers | public DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable)(Code) | | Construct a DTMDefaultBaseTraversers object from a DOM node.
Parameters: mgr - The DTMManager who owns this DTM. Parameters: source - The object that is used to specify the construction source. Parameters: dtmIdentity - The DTM identity ID for this DTM. Parameters: whiteSpaceFilter - The white space filter for this DTM, which maybe null. Parameters: xstringfactory - The factory to use for creating XMLStrings. Parameters: doIndexing - true if the caller considers it worth it to useindexing schemes. Parameters: blocksize - The block size of the DTM. Parameters: usePrevsib - true if we want to build the previous sibling node array. Parameters: newNameTable - true if we want to use a new ExpandedNameTable for this DTM. |
getAxisTraverser | public DTMAxisTraverser getAxisTraverser(int axis)(Code) | | This returns a stateless "traverser", that can navigate
over an XPath axis, though perhaps not in document order.
Parameters: axis - One of Axes.ANCESTORORSELF, etc. A DTMAxisTraverser, or null if the given axis isn't supported. |
Methods inherited from org.apache.xml.dtm.ref.DTMDefaultBase | protected int _exptype(int identity)(Code)(Java Doc) protected int _firstch(int identity)(Code)(Java Doc) protected int _level(int identity)(Code)(Java Doc) protected int _nextsib(int identity)(Code)(Java Doc) protected int _parent(int identity)(Code)(Java Doc) protected int _prevsib(int identity)(Code)(Java Doc) protected short _type(int identity)(Code)(Java Doc) public void appendChild(int newChild, boolean clone, boolean cloneDepth)(Code)(Java Doc) public void appendTextChild(String str)(Code)(Java Doc) protected void declareNamespaceInContext(int elementNodeIndex, int namespaceNodeIndex)(Code)(Java Doc) abstract public void dispatchCharactersEvents(int nodeHandle, org.xml.sax.ContentHandler ch, boolean normalize) throws org.xml.sax.SAXException(Code)(Java Doc) abstract public void dispatchToEvents(int nodeHandle, org.xml.sax.ContentHandler ch) throws org.xml.sax.SAXException(Code)(Java Doc) public void documentRegistration()(Code)(Java Doc) public void documentRelease()(Code)(Java Doc) public void dumpDTM(OutputStream os)(Code)(Java Doc) public String dumpNode(int nodeHandle)(Code)(Java Doc) protected void ensureSizeOfIndex(int namespaceID, int LocalNameID)(Code)(Java Doc) protected void error(String msg)(Code)(Java Doc) int findElementFromIndex(int nsIndex, int lnIndex, int firstPotential)(Code)(Java Doc) protected int findGTE(int[] list, int start, int len, int value)(Code)(Java Doc) protected int findInSortedSuballocatedIntVector(SuballocatedIntVector vector, int lookfor)(Code)(Java Doc) protected SuballocatedIntVector findNamespaceContext(int elementNodeIndex)(Code)(Java Doc) abstract public int getAttributeNode(int nodeHandle, String namespaceURI, String name)(Code)(Java Doc) public SuballocatedIntVector getDTMIDs()(Code)(Java Doc) public int getDocument()(Code)(Java Doc) public boolean getDocumentAllDeclarationsProcessed()(Code)(Java Doc) public String getDocumentBaseURI()(Code)(Java Doc) public String getDocumentEncoding(int nodeHandle)(Code)(Java Doc) public int getDocumentRoot(int nodeHandle)(Code)(Java Doc) public String getDocumentStandalone(int nodeHandle)(Code)(Java Doc) public String getDocumentSystemIdentifier(int nodeHandle)(Code)(Java Doc) abstract public String getDocumentTypeDeclarationPublicIdentifier()(Code)(Java Doc) abstract public String getDocumentTypeDeclarationSystemIdentifier()(Code)(Java Doc) public String getDocumentVersion(int documentHandle)(Code)(Java Doc) abstract public int getElementById(String elementId)(Code)(Java Doc) public int getExpandedTypeID(int nodeHandle)(Code)(Java Doc) public int getExpandedTypeID(String namespace, String localName, int type)(Code)(Java Doc) public int getFirstAttribute(int nodeHandle)(Code)(Java Doc) protected int getFirstAttributeIdentity(int identity)(Code)(Java Doc) public int getFirstChild(int nodeHandle)(Code)(Java Doc) public int getFirstNamespaceNode(int nodeHandle, boolean inScope)(Code)(Java Doc) public int getLastChild(int nodeHandle)(Code)(Java Doc) public short getLevel(int nodeHandle)(Code)(Java Doc) abstract public String getLocalName(int nodeHandle)(Code)(Java Doc) public String getLocalNameFromExpandedNameID(int expandedNameID)(Code)(Java Doc) public DTMManager getManager()(Code)(Java Doc) public String getNamespaceFromExpandedNameID(int expandedNameID)(Code)(Java Doc) public int getNamespaceType(int nodeHandle)(Code)(Java Doc) abstract public String getNamespaceURI(int nodeHandle)(Code)(Java Doc) public int getNextAttribute(int nodeHandle)(Code)(Java Doc) protected int getNextAttributeIdentity(int identity)(Code)(Java Doc) public int getNextNamespaceNode(int baseHandle, int nodeHandle, boolean inScope)(Code)(Java Doc) abstract protected int getNextNodeIdentity(int identity)(Code)(Java Doc) public int getNextSibling(int nodeHandle)(Code)(Java Doc) public org.w3c.dom.Node getNode(int nodeHandle)(Code)(Java Doc) public int getNodeHandle(int nodeId)(Code)(Java Doc) public int getNodeIdent(int nodeHandle)(Code)(Java Doc) abstract public String getNodeName(int nodeHandle)(Code)(Java Doc) public String getNodeNameX(int nodeHandle)(Code)(Java Doc) public short getNodeType(int nodeHandle)(Code)(Java Doc) abstract public String getNodeValue(int nodeHandle)(Code)(Java Doc) abstract protected int getNumberOfNodes()(Code)(Java Doc) public int getOwnerDocument(int nodeHandle)(Code)(Java Doc) public int getParent(int nodeHandle)(Code)(Java Doc) abstract public String getPrefix(int nodeHandle)(Code)(Java Doc) public int getPreviousSibling(int nodeHandle)(Code)(Java Doc) protected boolean getShouldStripWhitespace()(Code)(Java Doc) abstract public XMLString getStringValue(int nodeHandle)(Code)(Java Doc) public char[] getStringValueChunk(int nodeHandle, int chunkIndex, int[] startAndLen)(Code)(Java Doc) public int getStringValueChunkCount(int nodeHandle)(Code)(Java Doc) protected int getTypedAttribute(int nodeHandle, int attType)(Code)(Java Doc) public int getTypedFirstChild(int nodeHandle, int nodeType)(Code)(Java Doc) public int getTypedNextSibling(int nodeHandle, int nodeType)(Code)(Java Doc) abstract public String getUnparsedEntityURI(String name)(Code)(Java Doc) public boolean hasChildNodes(int nodeHandle)(Code)(Java Doc) protected void indexNode(int expandedTypeID, int identity)(Code)(Java Doc) abstract public boolean isAttributeSpecified(int attributeHandle)(Code)(Java Doc) public boolean isCharacterElementContentWhitespace(int nodeHandle)(Code)(Java Doc) public boolean isDocumentAllDeclarationsProcessed(int documentHandle)(Code)(Java Doc) public boolean isNodeAfter(int nodeHandle1, int nodeHandle2)(Code)(Java Doc) public boolean isSupported(String feature, String version)(Code)(Java Doc) final public int makeNodeHandle(int nodeIdentity)(Code)(Java Doc) final public int makeNodeIdentity(int nodeHandle)(Code)(Java Doc) public void migrateTo(DTMManager mgr)(Code)(Java Doc) abstract protected boolean nextNode()(Code)(Java Doc) protected void popShouldStripWhitespace()(Code)(Java Doc) protected void pushShouldStripWhitespace(boolean shouldStrip)(Code)(Java Doc) public void setDocumentBaseURI(String baseURI)(Code)(Java Doc) public void setFeature(String featureId, boolean state)(Code)(Java Doc) protected void setShouldStripWhitespace(boolean shouldStrip)(Code)(Java Doc) public boolean supportsPreStripping()(Code)(Java Doc)
|
|
|