org.apache.xalan.xsltc

Interface DOMEnhancedForDTM

All Superinterfaces:
DOM
Known Implementing Classes:
SAXImpl

public interface DOMEnhancedForDTM
extends DOM

Interface for SAXImpl which adds methods used at run-time, over and above those provided by the XSLTC DOM interface. An attempt to avoid the current "Is the DTM a DOM, if so is it a SAXImpl, . . . which was producing some ugly replicated code and introducing bugs where that multipathing had not been done. This makes it easier to provide other DOM/DOMEnhancedForDTM implementations, rather than hard-wiring XSLTC to SAXImpl.
Author:
Joseph Kesselman

Fields inherited from interface org.apache.xalan.xsltc.DOM

ADAPTIVE_RTF, FIRST_TYPE, NO_TYPE, NULL, RETURN_CURRENT, RETURN_PARENT, SIMPLE_RTF, TREE_RTF

Method Summary

String
getDocumentURI()
int
getElementById(String idString)
int
getExpandedTypeID2(int nodeHandle)
short[]
getMapping(String[] names, String[] uris, int[] types)
short[]
getNamespaceMapping(String[] namespaces)
int[]
getReverseMapping(String[] names, String[] uris, int[] types)
short[]
getReverseNamespaceMapping(String[] namespaces)
boolean
hasDOMSource()
void
setDocumentURI(String uri)

Methods inherited from interface org.apache.xalan.xsltc.DOM

characters, copy, copy, getAttributeNode, getAxisIterator, getChildren, getDocument, getDocumentURI, getElementsWithIDs, getExpandedTypeID, getIterator, getLanguage, getNSType, getNamespaceAxisIterator, getNamespaceName, getNamespaceType, getNodeHandle, getNodeIdent, getNodeName, getNodeNameX, getNodeValueIterator, getNthDescendant, getOutputDomBuilder, getParent, getResultTreeFrag, getResultTreeFrag, getSize, getStringValue, getStringValueX, getTypedAxisIterator, getTypedChildren, getUnparsedEntityURI, isAttribute, isElement, lessThan, lookupNamespace, makeNode, makeNode, makeNodeList, makeNodeList, orderNodes, setFilter, setupMapping, shallowCopy

Method Details

getDocumentURI

public String getDocumentURI()

getElementById

public int getElementById(String idString)

getExpandedTypeID2

public int getExpandedTypeID2(int nodeHandle)

getMapping

public short[] getMapping(String[] names,
                          String[] uris,
                          int[] types)

getNamespaceMapping

public short[] getNamespaceMapping(String[] namespaces)

getReverseMapping

public int[] getReverseMapping(String[] names,
                               String[] uris,
                               int[] types)

getReverseNamespaceMapping

public short[] getReverseNamespaceMapping(String[] namespaces)

hasDOMSource

public boolean hasDOMSource()

setDocumentURI

public void setDocumentURI(String uri)

Copyright B) 2005 Apache XML Project. All Rights Reserved.