/external/apache-xml/src/main/java/org/apache/xalan/serialize/ |
D | SerializerUtils.java | 26 import org.apache.xml.dtm.DTM; 60 DTM dtm = transformer.getXPathContext().getDTM(attr); in addAttribute() local 62 if (SerializerUtils.isDefinedNSDecl(handler, attr, dtm)) in addAttribute() 65 String ns = dtm.getNamespaceURI(attr); in addAttribute() 75 dtm.getLocalName(attr), in addAttribute() 76 dtm.getNodeName(attr), in addAttribute() 78 dtm.getNodeValue(attr), false); in addAttribute() 99 DTM dtm = transformer.getXPathContext().getDTM(src); in addAttributes() local 101 for (int node = dtm.getFirstAttribute(src); in addAttributes() 103 node = dtm.getNextAttribute(node)) in addAttributes() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMManagerDefault.java | 21 package org.apache.xml.dtm.ref; 30 import org.apache.xml.dtm.DTM; 31 import org.apache.xml.dtm.DTMException; 32 import org.apache.xml.dtm.DTMFilter; 33 import org.apache.xml.dtm.DTMIterator; 34 import org.apache.xml.dtm.DTMManager; 35 import org.apache.xml.dtm.DTMWSFilter; 36 import org.apache.xml.dtm.ref.dom2dtm.DOM2DTM; 37 import org.apache.xml.dtm.ref.sax2dtm.SAX2DTM; 38 import org.apache.xml.dtm.ref.sax2dtm.SAX2RTFDTM; [all …]
|
D | DTMNamedNodeMap.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 48 DTM dtm; field in DTMNamedNodeMap 62 public DTMNamedNodeMap(DTM dtm, int element) in DTMNamedNodeMap() argument 64 this.dtm = dtm; in DTMNamedNodeMap() 80 for (int n = dtm.getFirstAttribute(element); n != -1; in getLength() 81 n = dtm.getNextAttribute(n)) in getLength() 102 for (int n = dtm.getFirstAttribute(element); n != DTM.NULL; in getNamedItem() 103 n = dtm.getNextAttribute(n)) in getNamedItem() 105 if (dtm.getNodeName(n).equals(name)) in getNamedItem() [all …]
|
D | DTMNodeProxy.java | 21 package org.apache.xml.dtm.ref; 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMDOMException; 69 public DTM dtm; field in DTMNodeProxy 86 public DTMNodeProxy(DTM dtm, int node) in DTMNodeProxy() argument 88 this.dtm = dtm; in DTMNodeProxy() 99 return dtm; in getDTM() 128 return (dtmp.node == this.node) && (dtmp.dtm == this.dtm); in equals() 175 return this.dtm == that.dtm && this.node == that.node; in sameNodeAs() 185 return dtm.getNodeName(node); in getNodeName() [all …]
|
D | DTMTreeWalker.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 53 public void setDTM(DTM dtm) in setDTM() argument 55 m_dtm = dtm; in setDTM() 91 public DTMTreeWalker(ContentHandler contentHandler, DTM dtm) in DTMTreeWalker() argument 94 m_dtm = dtm; in DTMTreeWalker() 245 DTM dtm = m_dtm; in startNode() local 247 for (int nsn = dtm.getFirstNamespaceNode(node, true); DTM.NULL != nsn; in startNode() 248 nsn = dtm.getNextNamespaceNode(node, nsn, true)) in startNode() 251 String prefix = dtm.getNodeNameX(nsn); in startNode() [all …]
|
D | DTMAxisIterNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMAxisIterator; 72 public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { in DTMAxisIterNodeList() argument 77 m_dtm = dtm; in DTMAxisIterNodeList()
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
D | ClonerToResultTree.java | 26 import org.apache.xml.dtm.DTM; 132 public static void cloneToResultTree(int node, int nodeType, DTM dtm, in cloneToResultTree() argument 143 dtm.dispatchCharactersEvents(node, rth, false); in cloneToResultTree() 154 String ns = dtm.getNamespaceURI(node); in cloneToResultTree() 156 String localName = dtm.getLocalName(node); in cloneToResultTree() 160 rth.startElement(ns, localName, dtm.getNodeNameX(node)); in cloneToResultTree() 168 SerializerUtils.processNSDecls(rth, node, nodeType, dtm); in cloneToResultTree() 174 dtm.dispatchCharactersEvents(node, rth, false); in cloneToResultTree() 185 SerializerUtils.processNSDecls(rth,node,DTM.NAMESPACE_NODE,dtm); in cloneToResultTree() 188 XMLString xstr = dtm.getStringValue (node); in cloneToResultTree() [all …]
|
D | XalanTransformState.java | 28 import org.apache.xml.dtm.DTM; 29 import org.apache.xml.dtm.DTMIterator; 68 DTM dtm = m_transformer.getXPathContext().getDTM(currentNodeHandle); in resetState() local 69 m_currentNode = dtm.getNode(currentNodeHandle); in resetState() 92 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getCurrentNode()); in getCurrentNode() local 93 return dtm.getNode(m_transformer.getCurrentNode()); in getCurrentNode() 123 DTM dtm = m_transformer.getXPathContext().getDTM(m_matchedNode); in getMatchedNode() local 124 return dtm.getNode(m_matchedNode); in getMatchedNode() 126 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getMatchedNode()); in getMatchedNode() local 127 return dtm.getNode(m_transformer.getMatchedNode()); in getMatchedNode() [all …]
|
D | TreeWalker2Result.java | 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.ref.DTMTreeWalker; 127 DTM dtm = m_dtm; in startNode() local 128 for (int ns = dtm.getFirstNamespaceNode(node, true); in startNode() 129 DTM.NULL != ns; ns = dtm.getNextNamespaceNode(node, ns, true)) in startNode() 131 SerializerUtils.ensureNamespaceDeclDeclared(m_handler,dtm, ns); in startNode() 135 for (int attr = dtm.getFirstAttribute(node); in startNode() 136 DTM.NULL != attr; attr = dtm.getNextAttribute(attr)) in startNode()
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
D | ContextMatchStepPattern.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisTraverser; 26 import org.apache.xml.dtm.DTMFilter; 92 DTM dtm = xctxt.getDTM(context); in executeRelativePathPattern() local 94 if (null != dtm) in executeRelativePathPattern() 102 boolean iterRootIsAttr = (dtm.getNodeType(xctxt.getIteratorRoot()) in executeRelativePathPattern() 110 traverser = dtm.getAxisTraverser(axis); in executeRelativePathPattern() 125 if (executePredicates(xctxt, dtm, context)) in executeRelativePathPattern() 132 && (DTM.ELEMENT_NODE == dtm.getNodeType(relative))) in executeRelativePathPattern() [all …]
|
D | StepPattern.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisTraverser; 26 import org.apache.xml.dtm.DTMFilter; 334 DTM dtm = xctxt.getDTM(currentNode); in execute() local 336 if (dtm != null) in execute() 338 int expType = dtm.getExpandedTypeID(currentNode); in execute() 340 return execute(xctxt, currentNode, dtm, expType); in execute() 382 XPathContext xctxt, int currentNode, DTM dtm, int expType) in execute() argument 398 score = super.execute(xctxt, currentNode, dtm, expType); in execute() [all …]
|
D | NodeTest.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMFilter; 529 DTM dtm = xctxt.getDTM(context); in execute() local 530 short nodeType = dtm.getNodeType(context); in execute() 552 return subPartMatch(dtm.getNodeName(context), m_name) in execute() 569 String ns = dtm.getLocalName(context); in execute() 576 …return (m_isTotallyWild || (subPartMatchNS(dtm.getNamespaceURI(context), m_namespace) && subPartMa… in execute() 600 DTM dtm, int expType) in execute() argument 608 << ((dtm.getNodeType(context)) - 1))); in execute() 625 return subPartMatch(dtm.getNodeName(context), m_name) in execute() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemCopy.java | 27 import org.apache.xml.dtm.DTM; 98 DTM dtm = xctxt.getDTM(sourceNode); in execute() local 99 short nodeType = dtm.getNodeType(sourceNode); in execute() 106 ClonerToResultTree.cloneToResultTree(sourceNode, nodeType, dtm, in execute() 112 SerializerUtils.processNSDecls(rthandler, sourceNode, nodeType, dtm); in execute() 115 String ns = dtm.getNamespaceURI(sourceNode); in execute() 116 String localName = dtm.getLocalName(sourceNode); in execute() 118 dtm.getNodeName(sourceNode)); in execute()
|
D | TemplateList.java | 30 import org.apache.xml.dtm.DTM; 431 int targetNode, DTM dtm) in getHead() argument 433 short targetNodeType = dtm.getNodeType(targetNode); in getHead() 441 dtm.getLocalName(targetNode)); in getHead() 450 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right in getHead() 454 dtm.getLocalName(targetNode)); in getHead() 466 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right in getHead() 498 DTM dtm) in getTemplateFast() argument 504 switch (dtm.getNodeType(targetNode)) in getTemplateFast() 509 dtm.getLocalNameFromExpandedNameID(expTypeID)); in getTemplateFast() [all …]
|
D | ElemCopyOf.java | 28 import org.apache.xml.dtm.DTM; 29 import org.apache.xml.dtm.DTMIterator; 30 import org.apache.xml.dtm.ref.DTMTreeWalker; 160 DTM dtm = xctxt.getDTMManager().getDTM(pos); in execute() local 161 short t = dtm.getNodeType(pos); in execute() 167 for (int child = dtm.getFirstChild(pos); child != DTM.NULL; in execute() 168 child = dtm.getNextSibling(child)) in execute()
|
D | ElemForEach.java | 29 import org.apache.xml.dtm.DTM; 30 import org.apache.xml.dtm.DTMIterator; 31 import org.apache.xml.dtm.DTMManager; 358 DTM dtm = xctxt.getDTM(sourceNode); in transformSelectedNodes() local 369 dtm = xctxt.getDTM(child); in transformSelectedNodes() 374 final int nodeType = dtm.getNodeType(child); in transformSelectedNodes() 401 "\tdtm="+dtm.getDocumentBaseURI()); in transformSelectedNodes() 405 xctxt.getSourceTreeManager().removeDocumentFromCache(dtm.getDocument()); in transformSelectedNodes() 406 xctxt.release(dtm,false); in transformSelectedNodes()
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncNamespace.java | 23 import org.apache.xml.dtm.DTM; 52 DTM dtm = xctxt.getDTM(context); in execute() local 53 int t = dtm.getNodeType(context); in execute() 56 s = dtm.getNamespaceURI(context); in execute() 64 s = dtm.getNodeName(context); in execute() 68 s = dtm.getNamespaceURI(context); in execute()
|
D | FuncLang.java | 23 import org.apache.xml.dtm.DTM; 50 DTM dtm = xctxt.getDTM(parent); in execute() local 54 if (DTM.ELEMENT_NODE == dtm.getNodeType(parent)) in execute() 56 int langAttr = dtm.getAttributeNode(parent, "http://www.w3.org/XML/1998/namespace", "lang"); in execute() 60 String langVal = dtm.getNodeValue(langAttr); in execute() 77 parent = dtm.getParent(parent); in execute()
|
D | FuncDoclocation.java | 23 import org.apache.xml.dtm.DTM; 53 DTM dtm = xctxt.getDTM(whereNode); in execute() local 56 if (DTM.DOCUMENT_FRAGMENT_NODE == dtm.getNodeType(whereNode)) in execute() 58 whereNode = dtm.getFirstChild(whereNode); in execute() 63 fileLocation = dtm.getDocumentBaseURI(); in execute()
|
D | FuncUnparsedEntityURI.java | 23 import org.apache.xml.dtm.DTM; 48 DTM dtm = xctxt.getDTM(context); in execute() local 49 int doc = dtm.getDocument(); in execute() 51 String uri = dtm.getUnparsedEntityURI(name); in execute()
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | ChildIterator.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMFilter; 71 DTM dtm = xctxt.getDTM(current); in asNode() local 73 return dtm.getFirstChild(current); in asNode() 117 return org.apache.xml.dtm.Axis.CHILD; in getAxis()
|
D | ChildTestIterator.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisTraverser; 26 import org.apache.xml.dtm.DTMIterator; 157 return org.apache.xml.dtm.Axis.CHILD; in getAxis()
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XObjectFactory.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisIterator; 26 import org.apache.xml.dtm.DTMIterator; 105 DTM dtm = (DTM)val; in create() local 108 int dtmRoot = dtm.getDocument(); in create() 109 DTMAxisIterator iter = dtm.getAxisIterator(Axis.SELF); in create()
|
D | XRTreeFrag.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMIterator; 69 final DTM dtm = xctxt.getDTM(root); in initDTM() local 70 if(dtm != null){ in initDTM() 71 m_DTMXRTreeFrag = xctxt.getDTMXRTreeFrag(xctxt.getDTMIdentity(dtm)); in initDTM() 84 …return new org.apache.xml.dtm.ref.DTMNodeIterator((DTMIterator)(new org.apache.xpath.NodeSetDTM(m_… in object() 243 return new org.apache.xml.dtm.ref.DTMNodeList(asNodeIterator()); in convertToNodeset()
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | XPathContext.java | 36 import org.apache.xml.dtm.Axis; 37 import org.apache.xml.dtm.DTM; 38 import org.apache.xml.dtm.DTMFilter; 39 import org.apache.xml.dtm.DTMIterator; 40 import org.apache.xml.dtm.DTMManager; 41 import org.apache.xml.dtm.DTMWSFilter; 42 import org.apache.xml.dtm.ref.sax2dtm.SAX2RTFDTM; 191 public int getDTMIdentity(DTM dtm) in getDTMIdentity() argument 193 return m_dtmManager.getDTMIdentity(dtm); in getDTMIdentity() 214 public boolean release(DTM dtm, boolean shouldHardDelete) in release() argument [all …]
|