org.apache.xalan.xsltc

Interface DOMEnhancedForDTM

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

Method Summary
StringgetDocumentURI()
intgetElementById(String idString)
intgetExpandedTypeID2(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)
booleanhasDOMSource()
voidsetDocumentURI(String uri)

Method Detail

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) 2006 Apache XML Project. All Rights Reserved.