Uses of Interface
org.apache.xalan.xsltc.DOM
Packages that use DOM
Package
Description
-
Uses of DOM in org.apache.xalan.xsltc
Subinterfaces of DOM in org.apache.xalan.xsltcModifier and TypeInterfaceDescriptioninterface
Interface for SAXImpl which adds methods used at run-time, over and above those provided by the XSLTC DOM interface.Methods in org.apache.xalan.xsltc that return DOMModifier and TypeMethodDescriptionDOM.getResultTreeFrag
(int initialSize, int rtfType) DOM.getResultTreeFrag
(int initialSize, int rtfType, boolean addToDTMManager) DOMCache.retrieveDocument
(String baseURI, String href, Translet translet) This method is responsible for: (1) building the DOMImpl tree Parser _parser = new Parser(); DOMImpl _dom = new DOMImpl(); _parser.setDocumentHandler(_dom.getBuilder()); _parser.setDTDHandler(_dom.getBuilder()); _parser.parse(uri); (2) giving the translet an early opportunity to extract anything from the DOMImpl that it would like translet.documentPrepass(_dom); (3) setting the document URI: _dom.setDocumentURI(uri);Methods in org.apache.xalan.xsltc with parameters of type DOMModifier and TypeMethodDescriptionvoid
Translet.buildKeys
(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root) boolean
StripFilter.stripSpace
(DOM dom, int node, int type) void
Translet.transform
(DOM document, DTMAxisIterator iterator, SerializationHandler handler) void
Translet.transform
(DOM document, SerializationHandler handler) void
Translet.transform
(DOM document, SerializationHandler[] handlers) -
Uses of DOM in org.apache.xalan.xsltc.dom
Classes in org.apache.xalan.xsltc.dom that implement DOMModifier and TypeClassDescriptionclass
AdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments (RTF).final class
final class
final class
SAXImpl is the core model for SAX input source.class
This class represents a light-weight DOM model for simple result tree fragment(RTF).Fields in org.apache.xalan.xsltc.dom declared as DOMMethods in org.apache.xalan.xsltc.dom that return DOMModifier and TypeMethodDescriptionDocumentCache.CachedDocument.getDocument()
MultiDOM.getDOMAdapter
(String uri) DOMAdapter.getDOMImpl()
MultiDOM.getMain()
AdaptiveResultTreeImpl.getNestedDOM()
AdaptiveResultTreeImpl.getResultTreeFrag
(int initialSize, int rtfType) DOMAdapter.getResultTreeFrag
(int initSize, int rtfType) Return a instance of a DOM class to be used as an RTFDOMAdapter.getResultTreeFrag
(int initSize, int rtfType, boolean addToManager) Return a instance of a DOM class to be used as an RTFMultiDOM.getResultTreeFrag
(int initSize, int rtfType) MultiDOM.getResultTreeFrag
(int initSize, int rtfType, boolean addToManager) SAXImpl.getResultTreeFrag
(int initSize, int rtfType) Return a instance of a DOM class to be used as an RTFSAXImpl.getResultTreeFrag
(int initSize, int rtfType, boolean addToManager) Return a instance of a DOM class to be used as an RTFSimpleResultTreeImpl.getResultTreeFrag
(int initialSize, int rtfType) SimpleResultTreeImpl.getResultTreeFrag
(int initialSize, int rtfType, boolean addToManager) DocumentCache.retrieveDocument
(String baseURI, String href, Translet trs) Returns a document either by finding it in the cache or downloading it and putting it in the cache.Methods in org.apache.xalan.xsltc.dom with parameters of type DOMModifier and TypeMethodDescriptionstatic DTMAxisIterator
LoadDocument.documentF
(Object arg, String xslURI, AbstractTranslet translet, DOM dom) Interprets the arguments passed from the document() function (see org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an iterator containing the requested nodes.static DTMAxisIterator
LoadDocument.documentF
(Object arg1, DTMAxisIterator arg2, String xslURI, AbstractTranslet translet, DOM dom) Interprets the arguments passed from the document() function (see org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an iterator containing the requested nodes.abstract String
NodeSortRecord.extractValueFromDOM
(DOM dom, int current, int level, AbstractTranslet translet, int last) Extract the sort value for a level of this key.static NodeCounter
AnyNodeCounter.getDefaultNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) static NodeCounter
MultipleNodeCounter.getDefaultNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) static NodeCounter
SingleNodeCounter.getDefaultNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) final void
NodeSortRecord.initialize
(int node, int last, DOM dom, org.apache.xalan.xsltc.dom.SortSettings settings) This method allows the caller to set the values that could not be passed to the default constructor.void
boolean
StripWhitespaceFilter.stripSpace
(DOM dom, int node, int type) Constructors in org.apache.xalan.xsltc.dom with parameters of type DOMModifierConstructorDescriptionAnyNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) DOMAdapter
(DOM dom, String[] namesArray, String[] urisArray, int[] typesArray, String[] namespaceArray) MultipleNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) Deprecated.This constructor is no longer used in generated code.NodeSortRecordFactory
(DOM dom, String className, Translet translet, String[] order, String[] type, String[] lang, String[] caseOrder) Creates a NodeSortRecord producing object.SingleNodeCounter
(Translet translet, DOM document, DTMAxisIterator iterator) UnionIterator
(DOM dom) -
Uses of DOM in org.apache.xalan.xsltc.runtime
Methods in org.apache.xalan.xsltc.runtime that return DOMModifier and TypeMethodDescriptionstatic DOM
BasisLibrary.referenceToResultTree
(Object obj) Utility function used to convert references to DOMs.Methods in org.apache.xalan.xsltc.runtime with parameters of type DOMModifier and TypeMethodDescriptionvoid
AbstractTranslet.buildKeyIndex
(String name, DOM dom) Create an empty KeyIndex in the DOM casevoid
AbstractTranslet.buildKeys
(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root) This method builds key indexes - it is overridden in the compiled translet in cases where the invalid input: '<'xsl:key> element is usedstatic boolean
BasisLibrary.compare
(int node, DTMAxisIterator iterator, int op, DOM dom) static boolean
static boolean
BasisLibrary.compare
(DTMAxisIterator left, double rnumber, int op, DOM dom) Utility function: node-set/number compare.static boolean
BasisLibrary.compare
(DTMAxisIterator left, String rstring, int op, DOM dom) Utility function: node-set/string comparison.static boolean
BasisLibrary.compare
(DTMAxisIterator left, DTMAxisIterator right, int op, DOM dom) Utility function: node-set/node-set compare.static void
BasisLibrary.copy
(Object obj, SerializationHandler handler, int node, DOM dom) final DOMAdapter
AbstractTranslet.makeDOMAdapter
(DOM dom) Wrap the initial input DOM in a dom adapter.static String
BasisLibrary.namespace_uriF
(int node, DOM dom) XSLT Standard function namespace-uri().static String
BasisLibrary.namespace_uriF
(DTMAxisIterator iter, DOM dom) XSLT Standard function namespace-uri(node-set).static DTMAxisIterator
BasisLibrary.node2Iterator
(Node node, Translet translet, DOM dom) Utility function used to convert a w3c Node into an internal DOM iterator.static DTMAxisIterator
BasisLibrary.nodeList2Iterator
(NodeList nodeList, Translet translet, DOM dom) Utility function used to convert a w3c NodeList into a internal DOM iterator.static String
BasisLibrary.normalize_spaceF
(int node, DOM dom) XSLT Standard function normalize-space().static double
XSLT Standard function number()static double
XSLT Standard function number(value)final void
AbstractTranslet.prepassDocument
(DOM document) Give the translet an opportunity to perform a prepass on the document to extract any information that it can store in an optimized form.static Node
BasisLibrary.referenceToNode
(Object obj, DOM dom) Utility function: used to convert reference to org.w3c.dom.Node.static NodeList
BasisLibrary.referenceToNodeList
(Object obj, DOM dom) Utility function: used to convert reference to org.w3c.dom.NodeList.static String
BasisLibrary.referenceToString
(Object obj, DOM dom) Utility function: used to convert reference to String.void
AbstractTranslet.setKeyIndexDom
(String name, DOM document) This method builds key indexes - it is overridden in the compiled translet in cases where the invalid input: '<'xsl:key> element is usedstatic String
BasisLibrary.startXslElement
(String qname, String namespace, SerializationHandler handler, DOM dom, int node) Utility function for the implementation of xsl:element.static String
XSLT Standard function string()static String
XSLT Standard function string(value)static String
XSLT Standard function string(value)static double
BasisLibrary.sumF
(DTMAxisIterator iterator, DOM dom) XSLT Standard function sum(node-set).static boolean
BasisLibrary.testLanguage
(String testLang, DOM dom, int node) Utility function: used to test context node's languageabstract void
AbstractTranslet.transform
(DOM document, DTMAxisIterator iterator, SerializationHandler handler) Main transform() method - this is overridden by the compiled transletfinal void
AbstractTranslet.transform
(DOM document, SerializationHandler handler) Calls transform() with a given output handlerConstructors in org.apache.xalan.xsltc.runtime with parameters of type DOM -
Uses of DOM in org.apache.xalan.xsltc.trax
Methods in org.apache.xalan.xsltc.trax that return DOMModifier and TypeMethodDescriptionTemplatesImpl.getStylesheetDOM()
Return the thread local copy of the stylesheet DOM.TransformerImpl.retrieveDocument
(String baseURI, String href, Translet translet) This class should only be used as a DOMCache for the translet if the URIResolver has been set.Methods in org.apache.xalan.xsltc.trax with parameters of type DOMModifier and TypeMethodDescriptionvoid
TemplatesImpl.setStylesheetDOM
(DOM sdom) Set the thread local copy of the stylesheet DOM.