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 TypeInterfaceDescriptioninterfaceInterface 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 TypeMethodDescriptionvoidTranslet.buildKeys(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root) booleanStripFilter.stripSpace(DOM dom, int node, int type) voidTranslet.transform(DOM document, DTMAxisIterator iterator, SerializationHandler handler) voidTranslet.transform(DOM document, SerializationHandler handler) voidTranslet.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 TypeClassDescriptionclassAdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments (RTF).final classfinal classfinal classSAXImpl is the core model for SAX input source.classThis 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 DTMAxisIteratorLoadDocument.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 DTMAxisIteratorLoadDocument.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 StringNodeSortRecord.extractValueFromDOM(DOM dom, int current, int level, AbstractTranslet translet, int last) Extract the sort value for a level of this key.static NodeCounterAnyNodeCounter.getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator) static NodeCounterMultipleNodeCounter.getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator) static NodeCounterSingleNodeCounter.getDefaultNodeCounter(Translet translet, DOM document, DTMAxisIterator iterator) final voidNodeSortRecord.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.voidbooleanStripWhitespaceFilter.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 DOMBasisLibrary.referenceToResultTree(Object obj) Utility function used to convert references to DOMs.Methods in org.apache.xalan.xsltc.runtime with parameters of type DOMModifier and TypeMethodDescriptionvoidAbstractTranslet.buildKeyIndex(String name, DOM dom) Create an empty KeyIndex in the DOM casevoidAbstractTranslet.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 <xsl:key> element is usedstatic booleanBasisLibrary.compare(int node, DTMAxisIterator iterator, int op, DOM dom) static booleanstatic booleanBasisLibrary.compare(DTMAxisIterator left, double rnumber, int op, DOM dom) Utility function: node-set/number compare.static booleanBasisLibrary.compare(DTMAxisIterator left, String rstring, int op, DOM dom) Utility function: node-set/string comparison.static booleanBasisLibrary.compare(DTMAxisIterator left, DTMAxisIterator right, int op, DOM dom) Utility function: node-set/node-set compare.static voidBasisLibrary.copy(Object obj, SerializationHandler handler, int node, DOM dom) final DOMAdapterAbstractTranslet.makeDOMAdapter(DOM dom) Wrap the initial input DOM in a dom adapter.static StringBasisLibrary.namespace_uriF(int node, DOM dom) XSLT Standard function namespace-uri().static StringBasisLibrary.namespace_uriF(DTMAxisIterator iter, DOM dom) XSLT Standard function namespace-uri(node-set).static DTMAxisIteratorBasisLibrary.node2Iterator(Node node, Translet translet, DOM dom) Utility function used to convert a w3c Node into an internal DOM iterator.static DTMAxisIteratorBasisLibrary.nodeList2Iterator(NodeList nodeList, Translet translet, DOM dom) Utility function used to convert a w3c NodeList into a internal DOM iterator.static StringBasisLibrary.normalize_spaceF(int node, DOM dom) XSLT Standard function normalize-space().static doubleXSLT Standard function number()static doubleXSLT Standard function number(value)final voidAbstractTranslet.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 NodeBasisLibrary.referenceToNode(Object obj, DOM dom) Utility function: used to convert reference to org.w3c.dom.Node.static NodeListBasisLibrary.referenceToNodeList(Object obj, DOM dom) Utility function: used to convert reference to org.w3c.dom.NodeList.static StringBasisLibrary.referenceToString(Object obj, DOM dom) Utility function: used to convert reference to String.voidAbstractTranslet.setKeyIndexDom(String name, DOM document) This method builds key indexes - it is overridden in the compiled translet in cases where the <xsl:key> element is usedstatic StringBasisLibrary.startXslElement(String qname, String namespace, SerializationHandler handler, DOM dom, int node) Utility function for the implementation of xsl:element.static StringXSLT Standard function string()static StringXSLT Standard function string(value)static StringXSLT Standard function string(value)static doubleBasisLibrary.sumF(DTMAxisIterator iterator, DOM dom) XSLT Standard function sum(node-set).static booleanBasisLibrary.testLanguage(String testLang, DOM dom, int node) Utility function: used to test context node's languageabstract voidAbstractTranslet.transform(DOM document, DTMAxisIterator iterator, SerializationHandler handler) Main transform() method - this is overridden by the compiled transletfinal voidAbstractTranslet.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 TypeMethodDescriptionvoidTemplatesImpl.setStylesheetDOM(DOM sdom) Set the thread local copy of the stylesheet DOM.