| java.lang.Object org.apache.xml.dtm.ref.DTMDefaultBase org.apache.xml.dtm.ref.DTMDefaultBaseTraversers org.apache.xml.dtm.ref.DTMDefaultBaseIterators
All known Subclasses: org.apache.xml.dtm.ref.dom2dtm.DOM2DTM, org.apache.xalan.lib.sql.DTMDocument, org.apache.xml.dtm.ref.sax2dtm.SAX2DTM,
DTMDefaultBaseIterators | abstract public class DTMDefaultBaseIterators extends DTMDefaultBaseTraversers (Code) | | This class implements the traversers for DTMDefaultBase.
|
Inner Class :final public class ChildrenIterator extends InternalAxisIteratorBase | |
Inner Class :final public class ParentIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedChildrenIterator extends InternalAxisIteratorBase | |
Inner Class :final public class NamespaceChildrenIterator extends InternalAxisIteratorBase | |
Inner Class :public class NamespaceIterator extends InternalAxisIteratorBase | |
Inner Class :public class TypedNamespaceIterator extends NamespaceIterator | |
Inner Class :public class RootIterator extends InternalAxisIteratorBase | |
Inner Class :public class TypedRootIterator extends RootIterator | |
Inner Class :final public class NamespaceAttributeIterator extends InternalAxisIteratorBase | |
Inner Class :public class FollowingSiblingIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedFollowingSiblingIterator extends FollowingSiblingIterator | |
Inner Class :final public class AttributeIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedAttributeIterator extends InternalAxisIteratorBase | |
Inner Class :public class PrecedingSiblingIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedPrecedingSiblingIterator extends PrecedingSiblingIterator | |
Inner Class :public class PrecedingIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedPrecedingIterator extends PrecedingIterator | |
Inner Class :public class FollowingIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedFollowingIterator extends FollowingIterator | |
Inner Class :public class AncestorIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedAncestorIterator extends AncestorIterator | |
Inner Class :public class DescendantIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedDescendantIterator extends DescendantIterator | |
Inner Class :public class NthDescendantIterator extends DescendantIterator | |
Inner Class :public class SingletonIterator extends InternalAxisIteratorBase | |
Inner Class :final public class TypedSingletonIterator extends SingletonIterator | |
Constructor Summary | |
public | DTMDefaultBaseIterators(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing) Construct a DTMDefaultBaseTraversers object from a DOM node. | public | DTMDefaultBaseIterators(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 DTMAxisIterator | getAxisIterator(int axis) This is a shortcut to the iterators that implement the
XPath axes.
Returns a bare-bones iterator that must be initialized
with a start node (using iterator.setStartNode()).
Parameters: axis - One of Axes.ANCESTORORSELF, etc. | public DTMAxisIterator | getTypedAxisIterator(int axis, int type) Get an iterator that can navigate over an XPath Axis, predicated by
the extended type ID.
Returns an iterator that must be initialized
with a start node (using iterator.setStartNode()).
Parameters: axis - One of Axes.ANCESTORORSELF, etc. Parameters: type - An extended type ID. |
DTMDefaultBaseIterators | public DTMDefaultBaseIterators(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 use indexing schemes. |
DTMDefaultBaseIterators | public DTMDefaultBaseIterators(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 use indexing 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. |
getAxisIterator | public DTMAxisIterator getAxisIterator(int axis)(Code) | | This is a shortcut to the iterators that implement the
XPath axes.
Returns a bare-bones iterator that must be initialized
with a start node (using iterator.setStartNode()).
Parameters: axis - One of Axes.ANCESTORORSELF, etc. A DTMAxisIterator, or null if the given axis isn't supported. |
getTypedAxisIterator | public DTMAxisIterator getTypedAxisIterator(int axis, int type)(Code) | | Get an iterator that can navigate over an XPath Axis, predicated by
the extended type ID.
Returns an iterator that must be initialized
with a start node (using iterator.setStartNode()).
Parameters: axis - One of Axes.ANCESTORORSELF, etc. Parameters: type - An extended type ID. A DTMAxisIterator, 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)
|
|
|