Methods Summary |
---|
public void | addAttribute(java.lang.String name, java.lang.String value)
if (_openElementName != null) {
_attributes.add(name, value);
}
else {
BasisLibrary.runTimeError(BasisLibrary.STRAY_ATTRIBUTE_ERR, name);
}
|
public void | addUniqueAttribute(java.lang.String qName, java.lang.String value, int flags)
addAttribute(qName, value);
|
public void | appendChild(int newChild, boolean clone, boolean cloneDepth)
if (_dom != null) {
_dom.appendChild(newChild, clone, cloneDepth);
}
else {
super.appendChild(newChild, clone, cloneDepth);
}
|
public void | appendTextChild(java.lang.String str)
if (_dom != null) {
_dom.appendTextChild(str);
}
else {
super.appendTextChild(str);
}
|
public void | characters(int node, com.sun.org.apache.xml.internal.serializer.SerializationHandler handler)Dispatch the character content of a node to an output handler.
The escape setting should be taken care of when outputting to
a handler.
if (_dom != null) {
_dom.characters(node, handler);
}
else {
super.characters(node, handler);
}
|
public void | characters(java.lang.String str)
if (_dom != null) {
characters(str.toCharArray(), 0, str.length());
}
else {
super.characters(str);
}
|
public void | characters(char[] ch, int offset, int length)
if (_dom != null) {
maybeEmitStartElement();
_dom.characters(ch, offset, length);
}
else {
super.characters(ch, offset, length);
}
|
public void | comment(java.lang.String comment)
if (_dom == null) {
prepareNewDOM();
}
maybeEmitStartElement();
char[] chars = comment.toCharArray();
_dom.comment(chars, 0, chars.length);
|
public void | comment(char[] chars, int offset, int length)
if (_dom == null) {
prepareNewDOM();
}
maybeEmitStartElement();
_dom.comment(chars, offset, length);
|
public void | copy(int node, com.sun.org.apache.xml.internal.serializer.SerializationHandler handler)
if (_dom != null) {
_dom.copy(node, handler);
}
else {
super.copy(node, handler);
}
|
public void | copy(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator nodes, com.sun.org.apache.xml.internal.serializer.SerializationHandler handler)
if (_dom != null) {
_dom.copy(nodes, handler);
}
else {
super.copy(nodes, handler);
}
|
public void | dispatchCharactersEvents(int nodeHandle, org.xml.sax.ContentHandler ch, boolean normalize)
if (_dom != null) {
_dom.dispatchCharactersEvents(nodeHandle, ch, normalize);
}
else {
super.dispatchCharactersEvents(nodeHandle, ch, normalize);
}
|
public void | dispatchToEvents(int nodeHandle, org.xml.sax.ContentHandler ch)
if (_dom != null) {
_dom.dispatchToEvents(nodeHandle, ch);
}
else {
super.dispatchToEvents(nodeHandle, ch);
}
|
public void | documentRegistration()
if (_dom != null) {
_dom.documentRegistration();
}
else {
super.documentRegistration();
}
|
public void | documentRelease()
if (_dom != null) {
_dom.documentRelease();
}
else {
super.documentRelease();
}
|
public void | endDocument()
if (_dom != null) {
_dom.endDocument();
}
else {
super.endDocument();
}
|
public void | endElement(java.lang.String elementName)
maybeEmitStartElement();
_dom.endElement(null, null, elementName);
|
public void | endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
endElement(qName);
|
public int | getAttributeNode(int gType, int element)
if (_dom != null) {
return _dom.getAttributeNode(gType, element);
}
else {
return super.getAttributeNode(gType, element);
}
|
public int | getAttributeNode(int elementHandle, java.lang.String namespaceURI, java.lang.String name)
if (_dom != null) {
return _dom.getAttributeNode(elementHandle, namespaceURI, name);
}
else {
return super.getAttributeNode(elementHandle, namespaceURI, name);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getAxisIterator(int axis)
if (_dom != null) {
return _dom.getAxisIterator(axis);
}
else {
return super.getAxisIterator(axis);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisTraverser | getAxisTraverser(int axis)
if (_dom != null) {
return _dom.getAxisTraverser(axis);
}
else {
return super.getAxisTraverser(axis);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getChildren(int node)
if (_dom != null) {
return _dom.getChildren(node);
}
else {
return super.getChildren(node);
}
|
public org.xml.sax.ContentHandler | getContentHandler()
if (_dom != null) {
return _dom.getContentHandler();
}
else {
return super.getContentHandler();
}
|
public org.xml.sax.DTDHandler | getDTDHandler()
if (_dom != null) {
return _dom.getDTDHandler();
}
else {
return super.getDTDHandler();
}
|
public org.xml.sax.ext.DeclHandler | getDeclHandler()
if (_dom != null) {
return _dom.getDeclHandler();
}
else {
return super.getDeclHandler();
}
|
public int | getDocument()
if (_dom != null) {
return _dom.getDocument();
}
else {
return super.getDocument();
}
|
public boolean | getDocumentAllDeclarationsProcessed()
if (_dom != null) {
return _dom.getDocumentAllDeclarationsProcessed();
}
else {
return super.getDocumentAllDeclarationsProcessed();
}
|
public java.lang.String | getDocumentBaseURI()
if (_dom != null) {
return _dom.getDocumentBaseURI();
}
else {
return super.getDocumentBaseURI();
}
|
public java.lang.String | getDocumentEncoding(int nodeHandle)
if (_dom != null) {
return _dom.getDocumentEncoding(nodeHandle);
}
else {
return super.getDocumentEncoding(nodeHandle);
}
|
public int | getDocumentRoot(int nodeHandle)
if (_dom != null) {
return _dom.getDocumentRoot(nodeHandle);
}
else {
return super.getDocumentRoot(nodeHandle);
}
|
public java.lang.String | getDocumentStandalone(int nodeHandle)
if (_dom != null) {
return _dom.getDocumentStandalone(nodeHandle);
}
else {
return super.getDocumentStandalone(nodeHandle);
}
|
public java.lang.String | getDocumentSystemIdentifier(int nodeHandle)
if (_dom != null) {
return _dom.getDocumentSystemIdentifier(nodeHandle);
}
else {
return super.getDocumentSystemIdentifier(nodeHandle);
}
|
public java.lang.String | getDocumentTypeDeclarationPublicIdentifier()
if (_dom != null) {
return _dom.getDocumentTypeDeclarationPublicIdentifier();
}
else {
return super.getDocumentTypeDeclarationPublicIdentifier();
}
|
public java.lang.String | getDocumentTypeDeclarationSystemIdentifier()
if (_dom != null) {
return _dom.getDocumentTypeDeclarationSystemIdentifier();
}
else {
return super.getDocumentTypeDeclarationSystemIdentifier();
}
|
public java.lang.String | getDocumentURI(int node)
if (_dom != null) {
return _dom.getDocumentURI(node);
}
else {
return "adaptive_rtf" + _documentURIIndex++;
}
|
public java.lang.String | getDocumentVersion(int documentHandle)
if (_dom != null) {
return _dom.getDocumentVersion(documentHandle);
}
else {
return super.getDocumentVersion(documentHandle);
}
|
public int | getElementById(java.lang.String elementId)
if (_dom != null) {
return _dom.getElementById(elementId);
}
else {
return super.getElementById(elementId);
}
|
public com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable | getElementsWithIDs()
if (_dom != null) {
return _dom.getElementsWithIDs();
}
else {
return super.getElementsWithIDs();
}
|
public org.xml.sax.EntityResolver | getEntityResolver()
if (_dom != null) {
return _dom.getEntityResolver();
}
else {
return super.getEntityResolver();
}
|
public org.xml.sax.ErrorHandler | getErrorHandler()
if (_dom != null) {
return _dom.getErrorHandler();
}
else {
return super.getErrorHandler();
}
|
public int | getExpandedTypeID(int nodeHandle)
if (_dom != null) {
return _dom.getExpandedTypeID(nodeHandle);
}
else {
return super.getExpandedTypeID(nodeHandle);
}
|
public int | getExpandedTypeID(java.lang.String namespace, java.lang.String localName, int type)
if (_dom != null) {
return _dom.getExpandedTypeID(namespace, localName, type);
}
else {
return super.getExpandedTypeID(namespace, localName, type);
}
|
public int | getFirstAttribute(int nodeHandle)
if (_dom != null) {
return _dom.getFirstAttribute(nodeHandle);
}
else {
return super.getFirstAttribute(nodeHandle);
}
|
public int | getFirstChild(int nodeHandle)
if (_dom != null) {
return _dom.getFirstChild(nodeHandle);
}
else {
return super.getFirstChild(nodeHandle);
}
|
public int | getFirstNamespaceNode(int nodeHandle, boolean inScope)
if (_dom != null) {
return _dom.getFirstNamespaceNode(nodeHandle, inScope);
}
else {
return super.getFirstNamespaceNode(nodeHandle, inScope);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getIterator()
if (_dom != null) {
return _dom.getIterator();
}
else {
return super.getIterator();
}
|
public java.lang.String | getLanguage(int node)
if (_dom != null) {
return _dom.getLanguage(node);
}
else {
return super.getLanguage(node);
}
|
public int | getLastChild(int nodeHandle)
if (_dom != null) {
return _dom.getLastChild(nodeHandle);
}
else {
return super.getLastChild(nodeHandle);
}
|
public short | getLevel(int nodeHandle)
if (_dom != null) {
return _dom.getLevel(nodeHandle);
}
else {
return super.getLevel(nodeHandle);
}
|
public org.xml.sax.ext.LexicalHandler | getLexicalHandler()
if (_dom != null) {
return _dom.getLexicalHandler();
}
else {
return super.getLexicalHandler();
}
|
public java.lang.String | getLocalName(int nodeHandle)
if (_dom != null) {
return _dom.getLocalName(nodeHandle);
}
else {
return super.getLocalName(nodeHandle);
}
|
public java.lang.String | getLocalNameFromExpandedNameID(int ExpandedNameID)
if (_dom != null) {
return _dom.getLocalNameFromExpandedNameID(ExpandedNameID);
}
else {
return super.getLocalNameFromExpandedNameID(ExpandedNameID);
}
|
public int | getNSType(int node)
if (_dom != null) {
return _dom.getNSType(node);
}
else {
return super.getNSType(node);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getNamespaceAxisIterator(int axis, int ns)
if (_dom != null) {
return _dom.getNamespaceAxisIterator(axis, ns);
}
else {
return super.getNamespaceAxisIterator(axis, ns);
}
|
public java.lang.String | getNamespaceFromExpandedNameID(int ExpandedNameID)
if (_dom != null) {
return _dom.getNamespaceFromExpandedNameID(ExpandedNameID);
}
else {
return super.getNamespaceFromExpandedNameID(ExpandedNameID);
}
|
public java.lang.String | getNamespaceName(int node)
if (_dom != null) {
return _dom.getNamespaceName(node);
}
else {
return super.getNamespaceName(node);
}
|
public int | getNamespaceType(int node)
if (_dom != null) {
return _dom.getNamespaceType(node);
}
else {
return super.getNamespaceType(node);
}
|
public java.lang.String | getNamespaceURI(int nodeHandle)
if (_dom != null) {
return _dom.getNamespaceURI(nodeHandle);
}
else {
return super.getNamespaceURI(nodeHandle);
}
|
public com.sun.org.apache.xalan.internal.xsltc.DOM | getNestedDOM()
return _dom;
|
public int | getNextAttribute(int nodeHandle)
if (_dom != null) {
return _dom.getNextAttribute(nodeHandle);
}
else {
return super.getNextAttribute(nodeHandle);
}
|
public int | getNextNamespaceNode(int baseHandle, int namespaceHandle, boolean inScope)
if (_dom != null) {
return _dom.getNextNamespaceNode(baseHandle, namespaceHandle, inScope);
}
else {
return super.getNextNamespaceNode(baseHandle, namespaceHandle, inScope);
}
|
public int | getNextSibling(int nodeHandle)
if (_dom != null) {
return _dom.getNextSibling(nodeHandle);
}
else {
return super.getNextSibling(nodeHandle);
}
|
public org.w3c.dom.Node | getNode(int nodeHandle)
if (_dom != null) {
return _dom.getNode(nodeHandle);
}
else {
return super.getNode(nodeHandle);
}
|
public final int | getNodeHandle(int nodeId)Return the node handle from a node identity.
if (_dom != null) {
return _dom.getNodeHandle(nodeId);
}
else {
return super.getNodeHandle(nodeId);
}
|
public final int | getNodeIdent(int nodehandle)Return the node identity from a node handle.
if (_dom != null) {
return _dom.getNodeIdent(nodehandle);
}
else {
return super.getNodeIdent(nodehandle);
}
|
public java.lang.String | getNodeName(int node)
if (_dom != null) {
return _dom.getNodeName(node);
}
else {
return super.getNodeName(node);
}
|
public java.lang.String | getNodeNameX(int node)
if (_dom != null) {
return _dom.getNodeNameX(node);
}
else {
return super.getNodeNameX(node);
}
|
public short | getNodeType(int nodeHandle)
if (_dom != null) {
return _dom.getNodeType(nodeHandle);
}
else {
return super.getNodeType(nodeHandle);
}
|
public java.lang.String | getNodeValue(int nodeHandle)
if (_dom != null) {
return _dom.getNodeValue(nodeHandle);
}
else {
return super.getNodeValue(nodeHandle);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getNodeValueIterator(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator iter, int returnType, java.lang.String value, boolean op)
if (_dom != null) {
return _dom.getNodeValueIterator(iter, returnType, value, op);
}
else {
return super.getNodeValueIterator(iter, returnType, value, op);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getNthDescendant(int node, int n, boolean includeself)
if (_dom != null) {
return _dom.getNthDescendant(node, n, includeself);
}
else {
return super.getNthDescendant(node, n, includeself);
}
|
public com.sun.org.apache.xml.internal.serializer.SerializationHandler | getOutputDomBuilder()
return this;
|
public int | getOwnerDocument(int nodeHandle)
if (_dom != null) {
return _dom.getOwnerDocument(nodeHandle);
}
else {
return super.getOwnerDocument(nodeHandle);
}
|
public int | getParent(int nodeHandle)
if (_dom != null) {
return _dom.getParent(nodeHandle);
}
else {
return super.getParent(nodeHandle);
}
|
public java.lang.String | getPrefix(int nodeHandle)
if (_dom != null) {
return _dom.getPrefix(nodeHandle);
}
else {
return super.getPrefix(nodeHandle);
}
|
public int | getPreviousSibling(int nodeHandle)
if (_dom != null) {
return _dom.getPreviousSibling(nodeHandle);
}
else {
return super.getPreviousSibling(nodeHandle);
}
|
public com.sun.org.apache.xalan.internal.xsltc.DOM | getResultTreeFrag(int initialSize, int rtfType)
if (_dom != null) {
return _dom.getResultTreeFrag(initialSize, rtfType);
}
else {
return super.getResultTreeFrag(initialSize, rtfType);
}
|
public int | getSize()
if (_dom != null) {
return _dom.getSize();
}
else {
return super.getSize();
}
|
public javax.xml.transform.SourceLocator | getSourceLocatorFor(int node)
if (_dom != null) {
return _dom.getSourceLocatorFor(node);
}
else {
return super.getSourceLocatorFor(node);
}
|
public java.lang.String | getStringValue()
if (_dom != null) {
return _dom.getStringValue();
}
else {
return super.getStringValue();
}
|
public com.sun.org.apache.xml.internal.utils.XMLString | getStringValue(int nodeHandle)
if (_dom != null) {
return _dom.getStringValue(nodeHandle);
}
else {
return super.getStringValue(nodeHandle);
}
|
public char[] | getStringValueChunk(int nodeHandle, int chunkIndex, int[] startAndLen)
if (_dom != null) {
return _dom.getStringValueChunk(nodeHandle, chunkIndex, startAndLen);
}
else {
return super.getStringValueChunk(nodeHandle, chunkIndex, startAndLen);
}
|
public int | getStringValueChunkCount(int nodeHandle)
if (_dom != null) {
return _dom.getStringValueChunkCount(nodeHandle);
}
else {
return super.getStringValueChunkCount(nodeHandle);
}
|
public java.lang.String | getStringValueX(int nodeHandle)
if (_dom != null) {
return _dom.getStringValueX(nodeHandle);
}
else {
return super.getStringValueX(nodeHandle);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getTypedAxisIterator(int axis, int type)
if (_dom != null) {
return _dom.getTypedAxisIterator(axis, type);
}
else {
return super.getTypedAxisIterator(axis, type);
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | getTypedChildren(int type)
if (_dom != null) {
return _dom.getTypedChildren(type);
}
else {
return super.getTypedChildren(type);
}
|
public java.lang.String | getUnparsedEntityURI(java.lang.String name)
if (_dom != null) {
return _dom.getUnparsedEntityURI(name);
}
else {
return super.getUnparsedEntityURI(name);
}
|
public boolean | hasChildNodes(int nodeHandle)
if (_dom != null) {
return _dom.hasChildNodes(nodeHandle);
}
else {
return super.hasChildNodes(nodeHandle);
}
|
public boolean | isAttribute(int node)
if (_dom != null) {
return _dom.isAttribute(node);
}
else {
return super.isAttribute(node);
}
|
public boolean | isAttributeSpecified(int attributeHandle)
if (_dom != null) {
return _dom.isAttributeSpecified(attributeHandle);
}
else {
return super.isAttributeSpecified(attributeHandle);
}
|
public boolean | isCharacterElementContentWhitespace(int nodeHandle)
if (_dom != null) {
return _dom.isCharacterElementContentWhitespace(nodeHandle);
}
else {
return super.isCharacterElementContentWhitespace(nodeHandle);
}
|
public boolean | isDocumentAllDeclarationsProcessed(int documentHandle)
if (_dom != null) {
return _dom.isDocumentAllDeclarationsProcessed(documentHandle);
}
else {
return super.isDocumentAllDeclarationsProcessed(documentHandle);
}
|
public boolean | isElement(int node)
if (_dom != null) {
return _dom.isElement(node);
}
else {
return super.isElement(node);
}
|
public boolean | isNodeAfter(int firstNodeHandle, int secondNodeHandle)
if (_dom != null) {
return _dom.isNodeAfter(firstNodeHandle, secondNodeHandle);
}
else {
return super.isNodeAfter(firstNodeHandle, secondNodeHandle);
}
|
public boolean | isSupported(java.lang.String feature, java.lang.String version)
if (_dom != null) {
return _dom.isSupported(feature, version);
}
else {
return super.isSupported(feature, version);
}
|
public boolean | lessThan(int node1, int node2)
if (_dom != null) {
return _dom.lessThan(node1, node2);
}
else {
return super.lessThan(node1, node2);
}
|
public java.lang.String | lookupNamespace(int node, java.lang.String prefix)
if (_dom != null) {
return _dom.lookupNamespace(node, prefix);
}
else {
return super.lookupNamespace(node, prefix);
}
|
public org.w3c.dom.Node | makeNode(int index)
if (_dom != null) {
return _dom.makeNode(index);
}
else {
return super.makeNode(index);
}
|
public org.w3c.dom.Node | makeNode(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator iter)
if (_dom != null) {
return _dom.makeNode(iter);
}
else {
return super.makeNode(iter);
}
|
public org.w3c.dom.NodeList | makeNodeList(int index)
if (_dom != null) {
return _dom.makeNodeList(index);
}
else {
return super.makeNodeList(index);
}
|
public org.w3c.dom.NodeList | makeNodeList(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator iter)
if (_dom != null) {
return _dom.makeNodeList(iter);
}
else {
return super.makeNodeList(iter);
}
|
private void | maybeEmitStartElement()The code in some of the following interfaces are copied from SAXAdapter.
if (_openElementName != null) {
int index;
if ((index =_openElementName.indexOf(":")) < 0)
_dom.startElement(null, _openElementName, _openElementName, _attributes);
else {
String uri =_dom.getNamespaceURI(_openElementName.substring(0,index));
_dom.startElement(uri, _openElementName.substring(index+1), _openElementName, _attributes);
}
_openElementName = null;
}
|
public void | namespaceAfterStartElement(java.lang.String prefix, java.lang.String uri)
if (_dom == null) {
prepareNewDOM();
}
_dom.startPrefixMapping(prefix, uri);
|
public boolean | needsTwoThreads()
if (_dom != null) {
return _dom.needsTwoThreads();
}
else {
return super.needsTwoThreads();
}
|
public com.sun.org.apache.xml.internal.dtm.DTMAxisIterator | orderNodes(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator source, int node)
if (_dom != null) {
return _dom.orderNodes(source, node);
}
else {
return super.orderNodes(source, node);
}
|
private void | prepareNewDOM()
_dom = (SAXImpl)_dtmManager.getDTM(null, true, _wsfilter,
true, false, false,
_initSize, _buildIdIndex);
_dom.startDocument();
// Flush pending Text nodes to SAXImpl
for (int i = 0; i < _size; i++) {
String str = _textArray[i];
_dom.characters(str.toCharArray(), 0, str.length());
}
_size = 0;
|
public void | processingInstruction(java.lang.String target, java.lang.String data)
if (_dom == null) {
prepareNewDOM();
}
maybeEmitStartElement();
_dom.processingInstruction(target, data);
|
public void | setDocumentBaseURI(java.lang.String baseURI)
if (_dom != null) {
_dom.setDocumentBaseURI(baseURI);
}
else {
super.setDocumentBaseURI(baseURI);
}
|
public boolean | setEscaping(boolean escape)
if (_dom != null) {
return _dom.setEscaping(escape);
}
else {
return super.setEscaping(escape);
}
|
public void | setFeature(java.lang.String featureId, boolean state)Implementation of the DTM interfaces
if (_dom != null) {
_dom.setFeature(featureId, state);
}
|
public void | setFilter(com.sun.org.apache.xalan.internal.xsltc.StripFilter filter)
if (_dom != null) {
_dom.setFilter(filter);
}
else {
super.setFilter(filter);
}
|
public void | setProperty(java.lang.String property, java.lang.Object value)
if (_dom != null) {
_dom.setProperty(property, value);
}
|
public void | setupMapping(java.lang.String[] names, java.lang.String[] uris, int[] types, java.lang.String[] namespaces)
if (_dom != null) {
_dom.setupMapping(names, uris, types, namespaces);
}
else {
super.setupMapping(names, uris, types, namespaces);
}
|
public java.lang.String | shallowCopy(int node, com.sun.org.apache.xml.internal.serializer.SerializationHandler handler)
if (_dom != null) {
return _dom.shallowCopy(node, handler);
}
else {
return super.shallowCopy(node, handler);
}
|
public void | startDocument()
|
public void | startElement(java.lang.String elementName)
if (_dom == null) {
prepareNewDOM();
}
maybeEmitStartElement();
_openElementName = elementName;
_attributes.clear();
|
public void | startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
startElement(qName);
|
public void | startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
startElement(qName);
|
public boolean | supportsPreStripping()
if (_dom != null) {
return _dom.supportsPreStripping();
}
else {
return super.supportsPreStripping();
}
|