| java.lang.Object org.apache.xml.dtm.ref.DTMDefaultBase org.apache.xml.dtm.ref.DTMDefaultBaseTraversers org.apache.xml.dtm.ref.DTMDefaultBaseIterators org.apache.xml.dtm.ref.sax2dtm.SAX2DTM org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2
All known Subclasses: org.apache.xalan.xsltc.dom.SAXImpl,
SAX2DTM2 | public class SAX2DTM2 extends SAX2DTM (Code) | | SAX2DTM2 is an optimized version of SAX2DTM which is used in non-incremental situation.
It is used as the super class of the XSLTC SAXImpl. Many of the interfaces in SAX2DTM
and DTMDefaultBase are overridden in SAX2DTM2 in order to allow fast, efficient
access to the DTM model. Some nested iterators in DTMDefaultBaseIterators
are also overridden in SAX2DTM2 for performance reasons.
Performance is the biggest consideration in the design of SAX2DTM2. To make the code most
efficient, the incremental support is dropped in SAX2DTM2, which means that you should not
use it in incremental situation. To reduce the overhead of pulling data from the DTM model,
a few core interfaces in SAX2DTM2 have direct access to the internal arrays of the
SuballocatedIntVectors.
The design of SAX2DTM2 may limit its extensibilty. If you have a reason to extend the
SAX2DTM model, please extend from SAX2DTM instead of this class.
TODO: This class is currently only used by XSLTC. We need to investigate the possibility
of also using it in Xalan-J Interpretive. Xalan's performance is likely to get an instant
boost if we use SAX2DTM2 instead of SAX2DTM in non-incremental case.
%MK% The code in this class is critical to the XSLTC_DTM performance. Be very careful
when making changes here!
|
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 :public class TypedRootIterator extends RootIterator | |
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 :final public class TypedSingletonIterator extends SingletonIterator | |
Constructor Summary | |
public | SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing) Construct a SAX2DTM2 object using the default block size. | public | SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean buildIdIndex, boolean newNameTable) Construct a SAX2DTM2 object using the given block size. |
Method Summary | |
final public int | _exptype(int identity) Override DTMDefaultBase._exptype() by dropping the incremental code.
This one is less efficient than _exptype2. | final public int | _exptype2(int identity) The optimized version of DTMDefaultBase._exptype(). | final public int | _exptype2Type(int exptype) | final public int | _firstch2(int identity) The optimized version of DTMDefaultBase._firstch(). | final public int | _nextsib2(int identity) The optimized version of DTMDefaultBase._nextsib(). | final public int | _parent2(int identity) The optimized version of DTMDefaultBase._parent(). | final public int | _type2(int identity) The optimized version of DTMDefaultBase._type(). | final protected int | addNode(int type, int expandedTypeID, int parentIndex, int previousSibling, int dataOrPrefix, boolean canHaveFirstChild) Construct the node map from the node.
Parameters: type - raw type ID, one of DTM.XXX_NODE. Parameters: expandedTypeID - The expended type ID. Parameters: parentIndex - The current parent index. Parameters: previousSibling - The previous sibling index. Parameters: dataOrPrefix - index into m_data table, or string handle. Parameters: canHaveFirstChild - true if the node can have a first child, falseif it is atomic. | final protected void | charactersFlush() Check whether accumulated text should be stripped; if not,
append the appropriate flavor of text/cdata node. | public void | comment(char ch, int start, int length) Report an XML comment anywhere in the document. | final protected void | copyAttribute(int nodeID, int exptype, SerializationHandler handler) | final protected void | copyAttributes(int nodeID, SerializationHandler handler) Copy attribute nodes from an element . | final protected String | copyElement(int nodeID, int exptype, SerializationHandler handler) Copy an Element node to a SerializationHandler. | final protected void | copyNS(int nodeID, SerializationHandler handler, boolean inScope) Copy namespace nodes. | final protected void | copyTextNode(int nodeID, SerializationHandler handler) | final public void | dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize) The optimized version of SAX2DTM.dispatchCharactersEvents(int, ContentHandler, boolean).
Directly call the
characters method on the passed ContentHandler for the
string-value of the given node (see http://www.w3.org/TR/xpath#data-model
for the definition of a node's string-value). | public void | endDocument() Receive notification of the end of the document. | public void | endElement(String uri, String localName, String qName) Receive notification of the end of an element.
By default, do nothing. | final public int | getExpandedTypeID2(int nodeHandle) The optimized version of DTMDefaultBase.getExpandedTypeID(int). | final public int | getFirstAttribute(int nodeHandle) The optimized version of DTMDefaultBase.getFirstAttribute().
Given a node handle, get the index of the node's first attribute.
Parameters: nodeHandle - int Handle of the node. | protected int | getFirstAttributeIdentity(int identity) The optimized version of DTMDefaultBase.getFirstAttributeIdentity(int).
Given a node identity, get the index of the node's first attribute.
Parameters: identity - int identity of the node. | public int | getIdForNamespace(String uri) Get a prefix either from the uri mapping, or just make
one up!
Parameters: uri - The namespace URI, which may be null. | public String | getLocalName(int nodeHandle) Override SAX2DTM.getLocalName() in SAX2DTM2.
Processing for PIs is different.
Given a node handle, return its XPath- style localname. | protected int | getNextAttributeIdentity(int identity) The optimized version of DTMDefaultBase.getNextAttributeIdentity(int).
Given a node identity for an attribute, advance to the next attribute.
Parameters: identity - int identity of the attribute node. | final protected int | getNextNamespaceNode2(int baseID) Return the next namespace node following the given base node. | public String | getNodeName(int nodeHandle) The optimized version of SAX2DTM.getNodeName().
Given a node handle, return its DOM-style node name. | final public String | getNodeNameX(int nodeHandle) The optimized version of SAX2DTM.getNodeNameX().
Given a node handle, return the XPath node name. | public String | getNodeValue(int nodeHandle) Given a node handle, return its node value. | public XMLString | getStringValue(int nodeHandle) Override SAX2DTM.getStringValue(int)
This method is only used by Xalan-J Interpretive. | public String | getStringValue() | final public String | getStringValueX(int nodeHandle) The optimized version of SAX2DTM.getStringValue(int).
%OPT% This is one of the most often used interfaces. | final protected int | getTypedAttribute(int nodeHandle, int attType) The optimized version of DTMDefaultBase.getTypedAttribute(int, int).
Given a node handle and an expanded type ID, get the index of the node's
attribute of that type, if any.
Parameters: nodeHandle - int Handle of the node. Parameters: attType - int expanded type ID of the required attribute. | public void | processingInstruction(String target, String data) Override the processingInstruction() interface in SAX2DTM2.
%OPT% This one is different from SAX2DTM.processingInstruction()
in that we do not use extended types for PI nodes. | public void | startDocument() Receive notification of the beginning of the document. | public void | startElement(String uri, String localName, String qName, Attributes attributes) Override SAX2DTM.startElement()
Receive notification of the start of an element.
By default, do nothing. |
TEXT_LENGTH_BITS | final protected static int TEXT_LENGTH_BITS(Code) | | %OPT% If the offset and length of a Text node are within certain limits,
we store a bitwise encoded value into an int, using 10 bits (max. 1024)
for length and 21 bits for offset. We can save two SuballocatedIntVector
calls for each getStringValueX() and dispatchCharacterEvents() call by
doing this.
|
TEXT_LENGTH_MAX | final protected static int TEXT_LENGTH_MAX(Code) | | |
TEXT_OFFSET_BITS | final protected static int TEXT_OFFSET_BITS(Code) | | |
TEXT_OFFSET_MAX | final protected static int TEXT_OFFSET_MAX(Code) | | |
m_MASK | protected int m_MASK(Code) | | |
m_SHIFT | protected int m_SHIFT(Code) | | |
m_blocksize | protected int m_blocksize(Code) | | |
m_buildIdIndex | protected boolean m_buildIdIndex(Code) | | |
SAX2DTM2 | public SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean buildIdIndex, boolean newNameTable)(Code) | | Construct a SAX2DTM2 object using the given block size.
|
_exptype | final public int _exptype(int identity)(Code) | | Override DTMDefaultBase._exptype() by dropping the incremental code.
This one is less efficient than _exptype2. It is only used during
DTM building. _exptype2 is used after the document is fully built.
|
_exptype2 | final public int _exptype2(int identity)(Code) | | The optimized version of DTMDefaultBase._exptype().
Parameters: identity - A node identity, which must not be equal toDTM.NULL |
_exptype2Type | final public int _exptype2Type(int exptype)(Code) | | Return the node type from the expanded type
|
_firstch2 | final public int _firstch2(int identity)(Code) | | The optimized version of DTMDefaultBase._firstch().
Parameters: identity - A node identity, which must not be equal toDTM.NULL |
_nextsib2 | final public int _nextsib2(int identity)(Code) | | The optimized version of DTMDefaultBase._nextsib().
Parameters: identity - A node identity, which must not be equal toDTM.NULL |
_parent2 | final public int _parent2(int identity)(Code) | | The optimized version of DTMDefaultBase._parent().
Parameters: identity - A node identity, which must not be equal toDTM.NULL |
_type2 | final public int _type2(int identity)(Code) | | The optimized version of DTMDefaultBase._type().
Parameters: identity - A node identity, which must not be equal toDTM.NULL |
addNode | final protected int addNode(int type, int expandedTypeID, int parentIndex, int previousSibling, int dataOrPrefix, boolean canHaveFirstChild)(Code) | | Construct the node map from the node.
Parameters: type - raw type ID, one of DTM.XXX_NODE. Parameters: expandedTypeID - The expended type ID. Parameters: parentIndex - The current parent index. Parameters: previousSibling - The previous sibling index. Parameters: dataOrPrefix - index into m_data table, or string handle. Parameters: canHaveFirstChild - true if the node can have a first child, falseif it is atomic. The index identity of the node that was added. |
charactersFlush | final protected void charactersFlush()(Code) | | Check whether accumulated text should be stripped; if not,
append the appropriate flavor of text/cdata node.
|
comment | public void comment(char ch, int start, int length) throws SAXException(Code) | | Report an XML comment anywhere in the document.
This callback will be used for comments inside or outside the
document element, including comments in the external DTD
subset (if read).
Parameters: ch - An array holding the characters in the comment. Parameters: start - The starting position in the array. Parameters: length - The number of characters to use from the array. throws: SAXException - The application may raise an exception. |
copyAttribute | final protected void copyAttribute(int nodeID, int exptype, SerializationHandler handler) throws SAXException(Code) | | Copy an Attribute node to a SerializationHandler
Parameters: nodeID - The node identity Parameters: exptype - The expanded type of the Element node Parameters: handler - The SerializationHandler |
copyAttributes | final protected void copyAttributes(int nodeID, SerializationHandler handler) throws SAXException(Code) | | Copy attribute nodes from an element .
Parameters: nodeID - The Element node identity Parameters: handler - The SerializationHandler |
copyElement | final protected String copyElement(int nodeID, int exptype, SerializationHandler handler) throws SAXException(Code) | | Copy an Element node to a SerializationHandler.
Parameters: nodeID - The node identity Parameters: exptype - The expanded type of the Element node Parameters: handler - The SerializationHandler The qualified name of the Element node. |
copyNS | final protected void copyNS(int nodeID, SerializationHandler handler, boolean inScope) throws SAXException(Code) | | Copy namespace nodes.
Parameters: nodeID - The Element node identity Parameters: handler - The SerializationHandler Parameters: inScope - true if all namespaces in scope should be copied,false if only the namespace declarations should be copied. |
dispatchCharactersEvents | final public void dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize) throws SAXException(Code) | | The optimized version of SAX2DTM.dispatchCharactersEvents(int, ContentHandler, boolean).
Directly call the
characters method on the passed ContentHandler for the
string-value of the given node (see http://www.w3.org/TR/xpath#data-model
for the definition of a node's string-value). Multiple calls to the
ContentHandler's characters methods may well occur for a single call to
this method.
Parameters: nodeHandle - The node ID. Parameters: ch - A non-null reference to a ContentHandler. Parameters: normalize - true if the content should be normalized according tothe rules for the XPathnormalize-spacefunction. throws: SAXException - |
endElement | public void endElement(String uri, String localName, String qName) throws SAXException(Code) | | Receive notification of the end of an element.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each element (such as finalising a tree node or writing
output to a file).
Parameters: uri - The Namespace URI, or the empty string if theelement has no Namespace URI or if Namespaceprocessing is not being performed. Parameters: localName - The local name (without prefix), or theempty string if Namespace processing is not beingperformed. Parameters: qName - The qualified XML 1.0 name (with prefix), or theempty string if qualified names are not available. throws: SAXException - Any SAX exception, possiblywrapping another exception. See Also: org.xml.sax.ContentHandler.endElement |
getExpandedTypeID2 | final public int getExpandedTypeID2(int nodeHandle)(Code) | | The optimized version of DTMDefaultBase.getExpandedTypeID(int).
This one is only used by DOMAdapter.getExpandedTypeID(int), which
is mostly called from the compiled translets.
|
getFirstAttribute | final public int getFirstAttribute(int nodeHandle)(Code) | | The optimized version of DTMDefaultBase.getFirstAttribute().
Given a node handle, get the index of the node's first attribute.
Parameters: nodeHandle - int Handle of the node. Handle of first attribute, or DTM.NULL to indicate none exists. |
getFirstAttributeIdentity | protected int getFirstAttributeIdentity(int identity)(Code) | | The optimized version of DTMDefaultBase.getFirstAttributeIdentity(int).
Given a node identity, get the index of the node's first attribute.
Parameters: identity - int identity of the node. Identity of first attribute, or DTM.NULL to indicate none exists. |
getIdForNamespace | public int getIdForNamespace(String uri)(Code) | | Get a prefix either from the uri mapping, or just make
one up!
Parameters: uri - The namespace URI, which may be null. The prefix if there is one, or null. |
getLocalName | public String getLocalName(int nodeHandle)(Code) | | Override SAX2DTM.getLocalName() in SAX2DTM2.
Processing for PIs is different.
Given a node handle, return its XPath- style localname. (As defined in
Namespaces, this is the portion of the name after any colon character).
Parameters: nodeHandle - the id of the node. String Local name of this node. |
getNextAttributeIdentity | protected int getNextAttributeIdentity(int identity)(Code) | | The optimized version of DTMDefaultBase.getNextAttributeIdentity(int).
Given a node identity for an attribute, advance to the next attribute.
Parameters: identity - int identity of the attribute node. Thismust be an attribute node. int DTM node-identity of the resolved attr,or DTM.NULL to indicate none exists. |
getNextNamespaceNode2 | final protected int getNextNamespaceNode2(int baseID)(Code) | | Return the next namespace node following the given base node.
The namespace node immediately following the base node. |
getNodeName | public String getNodeName(int nodeHandle)(Code) | | The optimized version of SAX2DTM.getNodeName().
Given a node handle, return its DOM-style node name. This will include
names such as #text or #document.
Parameters: nodeHandle - the id of the node. String Name of this node, which may be an empty string.%REVIEW% Document when empty string is possible...%REVIEW-COMMENT% It should never be empty, should it? |
getNodeNameX | final public String getNodeNameX(int nodeHandle)(Code) | | The optimized version of SAX2DTM.getNodeNameX().
Given a node handle, return the XPath node name. This should be the name
as described by the XPath data model, NOT the DOM- style name.
Parameters: nodeHandle - the id of the node. String Name of this node, which may be an empty string. |
getNodeValue | public String getNodeValue(int nodeHandle)(Code) | | Given a node handle, return its node value. This is mostly
as defined by the DOM, but may ignore some conveniences.
Parameters: nodeHandle - The node id. String Value of this node, or null if notmeaningful for this node type. |
getStringValue | public XMLString getStringValue(int nodeHandle)(Code) | | Override SAX2DTM.getStringValue(int)
This method is only used by Xalan-J Interpretive. It is not used by XSLTC.
If the caller supplies an XMLStringFactory, the getStringValue() interface
in SAX2DTM will be called. Otherwise just calls getStringValueX() and
wraps the returned String in an XMLString.
Get the string-value of a node as a String object
(see http://www.w3.org/TR/xpath#data-model
for the definition of a node's string-value).
Parameters: nodeHandle - The node ID. A string object that represents the string-value of the given node. |
getStringValue | public String getStringValue()(Code) | | Returns the string value of the entire tree
|
getStringValueX | final public String getStringValueX(int nodeHandle)(Code) | | The optimized version of SAX2DTM.getStringValue(int).
%OPT% This is one of the most often used interfaces. Performance is
critical here. This one is different from SAX2DTM.getStringValue(int) in
that it returns a String instead of a XMLString.
Get the string- value of a node as a String object (see http: //www. w3.
org/TR/xpath#data- model for the definition of a node's string- value).
Parameters: nodeHandle - The node ID. A string object that represents the string-value of the given node. |
getTypedAttribute | final protected int getTypedAttribute(int nodeHandle, int attType)(Code) | | The optimized version of DTMDefaultBase.getTypedAttribute(int, int).
Given a node handle and an expanded type ID, get the index of the node's
attribute of that type, if any.
Parameters: nodeHandle - int Handle of the node. Parameters: attType - int expanded type ID of the required attribute. Handle of attribute of the required type, or DTM.NULL to indicatenone exists. |
processingInstruction | public void processingInstruction(String target, String data) throws SAXException(Code) | | Override the processingInstruction() interface in SAX2DTM2.
%OPT% This one is different from SAX2DTM.processingInstruction()
in that we do not use extended types for PI nodes. The name of
the PI is saved in the DTMStringPool.
Receive notification of a processing instruction.
Parameters: target - The processing instruction target. Parameters: data - The processing instruction data, or null ifnone is supplied. throws: SAXException - Any SAX exception, possiblywrapping another exception. See Also: org.xml.sax.ContentHandler.processingInstruction |
startElement | public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code) | | Override SAX2DTM.startElement()
Receive notification of the start of an element.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each element (such as allocating a new tree node or writing
output to a file).
Parameters: uri - The Namespace URI, or the empty string if theelement has no Namespace URI or if Namespaceprocessing is not being performed. Parameters: localName - The local name (without prefix), or theempty string if Namespace processing is not beingperformed. Parameters: qName - The qualified name (with prefix), or theempty string if qualified names are not available. Parameters: attributes - The specified or defaulted attributes. throws: SAXException - Any SAX exception, possiblywrapping another exception. See Also: org.xml.sax.ContentHandler.startElement |
Methods inherited from org.apache.xml.dtm.ref.sax2dtm.SAX2DTM | protected int _dataOrQName(int identity)(Code)(Java Doc) protected void addNewDTMID(int nodeIndex)(Code)(Java Doc) protected int addNode(int type, int expandedTypeID, int parentIndex, int previousSibling, int dataOrPrefix, boolean canHaveFirstChild)(Code)(Java Doc) public void attributeDecl(String eName, String aName, String type, String valueDefault, String value) throws SAXException(Code)(Java Doc) public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) protected void charactersFlush()(Code)(Java Doc) public void clearCoRoutine()(Code)(Java Doc) public void clearCoRoutine(boolean callDoTerminate)(Code)(Java Doc) public void comment(char ch, int start, int length) throws SAXException(Code)(Java Doc) protected boolean declAlreadyDeclared(String prefix)(Code)(Java Doc) public void dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize) throws SAXException(Code)(Java Doc) public void dispatchToEvents(int nodeHandle, org.xml.sax.ContentHandler ch) throws org.xml.sax.SAXException(Code)(Java Doc) public void elementDecl(String name, String model) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void externalEntityDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public int getAttributeNode(int nodeHandle, String namespaceURI, String name)(Code)(Java Doc) public ContentHandler getContentHandler()(Code)(Java Doc) public DTDHandler getDTDHandler()(Code)(Java Doc) public DeclHandler getDeclHandler()(Code)(Java Doc) public String getDocumentTypeDeclarationPublicIdentifier()(Code)(Java Doc) public String getDocumentTypeDeclarationSystemIdentifier()(Code)(Java Doc) public int getElementById(String elementId)(Code)(Java Doc) public EntityResolver getEntityResolver()(Code)(Java Doc) public ErrorHandler getErrorHandler()(Code)(Java Doc) public String getFixedNames(int type)(Code)(Java Doc) public int getIdForNamespace(String uri)(Code)(Java Doc) public LexicalHandler getLexicalHandler()(Code)(Java Doc) public String getLocalName(int nodeHandle)(Code)(Java Doc) public String getNamespaceURI(int nodeHandle)(Code)(Java Doc) public String getNamespaceURI(String prefix)(Code)(Java Doc) protected int getNextNodeIdentity(int identity)(Code)(Java Doc) public String getNodeName(int nodeHandle)(Code)(Java Doc) public String getNodeNameX(int nodeHandle)(Code)(Java Doc) public String getNodeValue(int nodeHandle)(Code)(Java Doc) public int getNumberOfNodes()(Code)(Java Doc) public String getPrefix(int nodeHandle)(Code)(Java Doc) public String getPrefix(String qname, String uri)(Code)(Java Doc) public SourceLocator getSourceLocatorFor(int node)(Code)(Java Doc) public XMLString getStringValue(int nodeHandle)(Code)(Java Doc) public String getUnparsedEntityURI(String name)(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void internalEntityDecl(String name, String value) throws SAXException(Code)(Java Doc) public boolean isAttributeSpecified(int attributeHandle)(Code)(Java Doc) public boolean isWhitespace(int nodeHandle)(Code)(Java Doc) public void migrateTo(DTMManager manager)(Code)(Java Doc) public boolean needsTwoThreads()(Code)(Java Doc) protected boolean nextNode()(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void setIDAttribute(String id, int elem)(Code)(Java Doc) public void setIncrementalSAXSource(IncrementalSAXSource incrementalSAXSource)(Code)(Java Doc) public void setProperty(String property, Object value)(Code)(Java Doc) protected void setSourceLocation()(Code)(Java Doc) public void setUseSourceLocation(boolean useSourceLocation)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
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) 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)
|
|
|