Uses of Interface
org.apache.xml.dtm.DTM
| Package | Description |
|---|---|
| org.apache.xalan.serialize | |
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xml.dtm | |
| org.apache.xml.dtm.ref | |
| org.apache.xml.dtm.ref.dom2dtm | |
| org.apache.xml.dtm.ref.sax2dtm | |
| org.apache.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.patterns |
Implementation of XPath nodeTest support, and XSLT pattern matching support.
|
-
Uses of DTM in org.apache.xalan.serialize
Methods in org.apache.xalan.serialize with parameters of type DTM Modifier and Type Method Description static voidSerializerUtils. ensureNamespaceDeclDeclared(SerializationHandler handler, DTM dtm, int namespace)This function checks to make sure a given prefix is really declared.static booleanSerializerUtils. isDefinedNSDecl(SerializationHandler serializer, int attr, DTM dtm)Returns whether a namespace is definedstatic voidSerializerUtils. processNSDecls(SerializationHandler handler, int src, int type, DTM dtm)Copy xmlns: attributes in if not already in scope. -
Uses of DTM in org.apache.xalan.templates
Methods in org.apache.xalan.templates with parameters of type DTM Modifier and Type Method Description org.apache.xalan.templates.TemplateSubPatternAssociationTemplateList. getHead(XPathContext xctxt, int targetNode, DTM dtm)Get the head of the most likely list of associations to check, based on the name and type of the targetNode argument.ElemTemplateTemplateList. getTemplate(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.ElemTemplateTemplateList. getTemplate(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.ElemTemplateStylesheetRoot. getTemplateComposed(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm)Get an "xsl:template" property by node match.ElemTemplateStylesheetRoot. getTemplateComposed(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm)Get an "xsl:template" property by node match.ElemTemplateTemplateList. getTemplateFast(XPathContext xctxt, int targetNode, int expTypeID, QName mode, int maxImportLevel, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.WhiteSpaceInfoStylesheetRoot. getWhiteSpaceInfo(XPathContext support, int targetElement, DTM dtm)Get information about whether or not an element should strip whitespace. -
Uses of DTM in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer with parameters of type DTM Modifier and Type Method Description static voidClonerToResultTree. cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes)Clone an element with or without children.shortTransformerImpl. getShouldStripSpace(int elementHandle, DTM dtm)Test whether whitespace-only text nodes are visible in the logical view ofDTM. -
Uses of DTM in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return DTM Modifier and Type Method Description abstract DTMDTMManager. createDocumentFragment()Creates a DTM representing an emptyDocumentFragmentobject.DTMDTMIterator. getDTM(int nodeHandle)Get an instance of a DTM that "owns" a node handle.abstract DTMDTMManager. getDTM(int nodeHandle)Get the instance of DTM that "owns" a node handle.abstract DTMDTMManager. getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)Get an instance of a DTM, loaded with the content from the specified source.Methods in org.apache.xml.dtm with parameters of type DTM Modifier and Type Method Description abstract intDTMManager. getDTMIdentity(DTM dtm)%TBD% Doc NEEDSDOC @param dtm NEEDSDOC ($objectName$) @returnshortDTMWSFilter. getShouldStripSpace(int elementHandle, DTM dtm)Test whether whitespace-only text nodes are visible in the logical view ofDTM.abstract booleanDTMManager. release(DTM dtm, boolean shouldHardDelete)Release a DTM either to a lru pool, or completely remove reference. -
Uses of DTM in org.apache.xml.dtm.ref
Classes in org.apache.xml.dtm.ref that implement DTM Modifier and Type Class Description classDTMDefaultBaseTheDTMDefaultBaseclass serves as a helper base for DTMs.classDTMDefaultBaseIteratorsThis class implements the traversers for DTMDefaultBase.classDTMDefaultBaseTraversersThis class implements the traversers for DTMDefaultBase.classDTMDocumentImplThis is the implementation of the DTM document interface.Fields in org.apache.xml.dtm.ref declared as DTM Modifier and Type Field Description DTMDTMNodeProxy. dtmThe DTM for this node.protected DTMDTMTreeWalker. m_dtmDomHelper for this TreeWalkerprotected DTM[]DTMManagerDefault. m_dtmsMap from DTM identifier numbers to DTM objects that this manager manages.Methods in org.apache.xml.dtm.ref that return DTM Modifier and Type Method Description DTMDTMManagerDefault. createDocumentFragment()Method createDocumentFragment NEEDSDOC (createDocumentFragment) @returnDTMDTMManagerDefault. getDTM(int nodeHandle)Return the DTM object containing a representation of this node.DTMDTMManagerDefault. getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)Get an instance of a DTM, loaded with the content from the specified source.DTMDTMNodeProxy. getDTM()NON-DOM: Return the DTM modelMethods in org.apache.xml.dtm.ref with parameters of type DTM Modifier and Type Method Description voidDTMManagerDefault. addDTM(DTM dtm, int id)Add a DTM to the DTM table.voidDTMManagerDefault. addDTM(DTM dtm, int id, int offset)Add a DTM to the DTM table.intDTMManagerDefault. getDTMIdentity(DTM dtm)Given a DTM, find the ID number in the DTM tables which addresses the start of the document.ExpandedNameTableDTMManagerDefault. getExpandedNameTable(DTM dtm)return the expanded name table.booleanDTMManagerDefault. release(DTM dtm, boolean shouldHardDelete)Release the DTMManager's reference(s) to a DTM, making it unmanaged.voidDTMTreeWalker. setDTM(DTM dtm)Set the DTM to be traversed.Constructors in org.apache.xml.dtm.ref with parameters of type DTM Constructor Description DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator)Public constructor: Wrap a DTMNodeList around an existing and preconfigured DTMAxisIteratorDTMChildIterNodeList(DTM parentDTM, int parentHandle)Public constructor: Create a NodeList to support DTMNodeProxy.getChildren().DTMNamedNodeMap(DTM dtm, int element)Create a getAttributes NamedNodeMap for a given DTM element nodeDTMNodeProxy(DTM dtm, int node)Create a DTMNodeProxy Node representing a specific Node in a DTMDTMTreeWalker(ContentHandler contentHandler, DTM dtm)Constructor. -
Uses of DTM in org.apache.xml.dtm.ref.dom2dtm
Classes in org.apache.xml.dtm.ref.dom2dtm that implement DTM Modifier and Type Class Description classDOM2DTMTheDOM2DTMclass serves up a DOM's contents via the DTM API. -
Uses of DTM in org.apache.xml.dtm.ref.sax2dtm
Classes in org.apache.xml.dtm.ref.sax2dtm that implement DTM Modifier and Type Class Description classSAX2DTMThis class implements a DTM that tends to be optimized more for speed than for compactness, that is constructed via SAX2 ContentHandler events.classSAX2DTM2SAX2DTM2 is an optimized version of SAX2DTM which is used in non-incremental situation.classSAX2RTFDTMThis is a subclass of SAX2DTM which has been modified to meet the needs of Result Tree Frameworks (RTFs). -
Uses of DTM in org.apache.xpath
Methods in org.apache.xpath that return DTM Modifier and Type Method Description DTMXPathContext. createDocumentFragment()Creates an emptyDocumentFragmentobject.DTMNodeSetDTM. getDTM(int nodeHandle)Get an instance of a DTM that "owns" a node handle.DTMXPathContext. getDTM(int nodeHandle)Get an instance of a DTM that "owns" a node handle.DTMXPathContext. getDTM(Source source, boolean unique, DTMWSFilter wsfilter, boolean incremental, boolean doIndexing)Get an instance of a DTM, loaded with the content from the specified source.DTMXPathContext. getGlobalRTFDTM()Get a DTM to be used as a container for a global Result Tree Fragment.DTMXPathContext. getRTFDTM()Get a DTM to be used as a container for a dynamic Result Tree Fragment.Methods in org.apache.xpath with parameters of type DTM Modifier and Type Method Description XObjectExpression. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.intXPathContext. getDTMIdentity(DTM dtm)%TBD% DocbooleanXPathContext. release(DTM dtm, boolean shouldHardDelete)Release a DTM either to a lru pool, or completely remove reference. -
Uses of DTM in org.apache.xpath.axes
Fields in org.apache.xpath.axes declared as DTM Modifier and Type Field Description protected DTMLocPathIterator. m_cdtmThe dtm of the context node.Methods in org.apache.xpath.axes that return DTM Modifier and Type Method Description DTMAxesWalker. getDTM(int node)Get the DTM for this walker.DTMLocPathIterator. getDTM(int nodeHandle)Get an instance of a DTM that "owns" a node handle.DTMNodeSequence. getDTM(int nodeHandle)Methods in org.apache.xpath.axes with parameters of type DTM Modifier and Type Method Description voidAxesWalker. setDefaultDTM(DTM dtm)Set the DTM for this walker. -
Uses of DTM in org.apache.xpath.patterns
Methods in org.apache.xpath.patterns with parameters of type DTM Modifier and Type Method Description XObjectFunctionPattern. execute(XPathContext xctxt, int context, DTM dtm, int expType)Test a node to see if it matches the given node test.XObjectNodeTest. execute(XPathContext xctxt, int context, DTM dtm, int expType)Tell what the test score is for the given node.XObjectStepPattern. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.protected booleanStepPattern. executePredicates(XPathContext xctxt, DTM dtm, int currentNode)Execute the predicates on this step to determine if the current node should be filtered or accepted.protected XObjectStepPattern. executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode)Execute the match pattern step relative to another step.