/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemCopyOf.java | 28 import org.apache.xml.dtm.DTM; 29 import org.apache.xml.dtm.DTMIterator; 30 import org.apache.xml.dtm.ref.DTMTreeWalker; 158 while (DTM.NULL != (pos = nl.nextNode())) 160 DTM dtm = xctxt.getDTMManager().getDTM(pos); local 161 short t = dtm.getNodeType(pos); 165 if (t == DTM.DOCUMENT_NODE) 167 for (int child = dtm.getFirstChild(pos); child != DTM.NULL [all...] |
FuncDocument.java | 34 import org.apache.xml.dtm.DTM; 35 import org.apache.xml.dtm.DTMIterator; 76 DTM dtm = xctxt.getDTM(context); local 78 int docContext = dtm.getDocumentRoot(context); 97 if (baseNode == DTM.NULL) 106 DTM baseDTM = xctxt.getDTM(baseNode); 113 // if (baseDoc == DTM.NULL /* || baseDoc instanceof Stylesheet -->What to do?? */) 148 int pos = DTM.NULL [all...] |
ElemForEach.java | 29 import org.apache.xml.dtm.DTM; 30 import org.apache.xml.dtm.DTMIterator; 31 import org.apache.xml.dtm.DTMManager; 344 xctxt.pushCurrentNode(DTM.NULL); 348 xctxt.pushCurrentExpressionNode(DTM.NULL); 358 DTM dtm = xctxt.getDTM(sourceNode); local 362 while (DTM.NULL != (child = sourceNodes.nextNode())) 369 dtm = xctxt.getDTM(child) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyTable.java | 29 import org.apache.xml.dtm.DTM; 30 import org.apache.xml.dtm.DTMIterator; 197 while (DTM.NULL != (currentNode = m_keyNodes.nextNode())) 216 while (DTM.NULL != (currentNodeInUseClause = i.nextNode())) { 217 DTM dtm = xctxt.getDTM(currentNodeInUseClause); local 219 dtm.getStringValue(currentNodeInUseClause);
|
NodeSorter.java | 28 import org.apache.xml.dtm.DTM; 29 import org.apache.xml.dtm.DTMIterator; 271 DTM dtm = support.getDTM(n1.m_node); // %OPT% local 272 result = dtm.isNodeAfter(n1.m_node, n2.m_node) ? -1 : 1; 520 if(DTM.NULL == current) 524 // tryNextKey = (DTM.NULL != current);
|
TransformerImpl.java | 69 import org.apache.xml.dtm.DTM; 70 import org.apache.xml.dtm.DTMIterator; 71 import org.apache.xml.dtm.DTMManager; 72 import org.apache.xml.dtm.DTMWSFilter; 466 m_doc = DTM.NULL; 604 DTM dtm = mgr.getDTM(source, false, this, true, true); local 605 dtm.setDocumentBaseURI(base); 611 // NOTE: This will work because this is _NOT_ a shared DTM, and thus ha 1191 DTM dtm = xctxt.getDTM(node); local 1963 DTM dtm = m_xcontext.getDTM(child); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
ObjectFactory.java | 22 package org.apache.xml.dtm;
|
DTM.java | 19 * $Id: DTM.java 468653 2006-10-28 07:07:05Z minchau $ 21 package org.apache.xml.dtm; 28 * <code>DTM</code> is an XML document model expressed as a table 30 * a parse tree that has very little object creation. (DTM 32 * model, but that's hidden from the DTM API.) 34 * <p>Nodes in the DTM are identified by integer "handles". A handle must 54 * <p>DTM does _not_ directly support the W3C's Document Object 56 * implementation of DTM can be created that wraps a DOM and vice 59 * <p><strong>Please Note:</strong> The DTM API is still 70 * internal node id and a pointer to the actual DTM object; this migh [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ChunkedIntArray.java | 21 package org.apache.xml.dtm.ref; 68 * value in DTM.) 136 // This test supports DTM.getNextPreceding. 151 // is the parent node index. That's really a DTM feature
|
DTMDefaultBaseTraversers.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.*; 36 * in terms of DTM Node Handles... but they may use the internal node 46 * @param mgr The DTMManager who owns this DTM. 48 * @param dtmIdentity The DTM identity ID for this DTM. 49 * @param whiteSpaceFilter The white space filter for this DTM, which may 68 * @param mgr The DTMManager who owns this DTM. 70 * @param dtmIdentity The DTM identity ID for this DTM [all...] |
ExpandedNameTable.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 30 * to DTM building. To get the best performance out of this class, we implement 52 public static final int ELEMENT = ((int)DTM.ELEMENT_NODE) ; 53 public static final int ATTRIBUTE = ((int)DTM.ATTRIBUTE_NODE) ; 54 public static final int TEXT = ((int)DTM.TEXT_NODE) ; 55 public static final int CDATA_SECTION = ((int)DTM.CDATA_SECTION_NODE) ; 56 public static final int ENTITY_REFERENCE = ((int)DTM.ENTITY_REFERENCE_NODE) ; 57 public static final int ENTITY = ((int)DTM.ENTITY_NODE) [all...] |
DTMNodeProxy.java | 21 package org.apache.xml.dtm.ref; 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMDOMException; 50 * <code>DTMNodeProxy</code> presents a DOM Node API front-end to the DTM model. 54 * DTM node. Users can create a mechanism for managing this, or relinquish the 68 /** The DTM for this node. */ 69 public DTM dtm; field in class:DTMNodeProxy 71 /** The DTM node handle. * [all...] |
DTMDefaultBaseIterators.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.*; 41 * @param mgr The DTMManager who owns this DTM. 43 * @param dtmIdentity The DTM identity ID for this DTM. 44 * @param whiteSpaceFilter The white space filter for this DTM, which may 63 * @param mgr The DTMManager who owns this DTM. 65 * @param dtmIdentity The DTM identity ID for this DTM. 66 * @param whiteSpaceFilter The white space filter for this DTM, which ma [all...] |
IncrementalSAXSource_Filter.java | 22 package org.apache.xml.dtm.ref; 479 * output to a DTM builder), that would require calling super in
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/ |
SAX2RTFDTM.java | 21 package org.apache.xml.dtm.ref.sax2dtm; 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMManager; 27 import org.apache.xml.dtm.DTMWSFilter; 39 * 1) Multiple XML trees may be appended to the single DTM. This means 46 * most recently added trees off the end of the DTM as stylesheet elements 67 /** Most recently started Document, or null if the DTM is empty. */ 140 // we need this to mark the primordial state of the DTM. 152 * Given a DTM, find the owning document node. In the case o [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
SourceTreeManager.java | 33 import org.apache.xml.dtm.DTM; 147 if(DTM.NULL ==n) 174 if (DTM.NULL != cachedNode) 206 return DTM.NULL; 222 return DTM.NULL; 278 if (DTM.NULL != n) 283 if (DTM.NULL != n) 307 DTM dtm; local [all...] |
NodeSetDTM.java | 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMFilter; 26 import org.apache.xml.dtm.DTMIterator; 27 import org.apache.xml.dtm.DTMManager; 217 if(DTM.NULL == m_root) 222 return DTM.NULL; 345 * Get an instance of a DTM that "owns" a node handle. Since a node 347 * caller to easily get the DTM using just the iterator. 351 * @return a non-null DTM reference 819 DTM dtm = support.getDTM(node); local [all...] |
XPath.java | 30 import org.apache.xml.dtm.DTM; 491 DTM dtm = xctxt.getDTM(context); local 493 + dtm.getNodeName(context) + " for xpath "
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
DescendantIterator.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; 27 import org.apache.xml.dtm.DTMIterator; 175 return DTM.NULL; 177 if(DTM.NULL == m_lastFetched) 208 next = m_lastFetched = (DTM.NULL == m_lastFetched) 214 next = m_lastFetched = (DTM.NULL == m_lastFetched 301 DTM dtm = xctxt.getDTM(current); local [all...] |
UnionPathIterator.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMIterator; 385 return DTM.NULL; 389 int earliestNode = DTM.NULL; 400 if (DTM.NULL == node) 402 else if (DTM.NULL == earliestNode) 417 DTM dtm = getDTM(node) local [all...] |
PredicatedNodeTest.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMIterator; 439 if(DTM.NULL != n) 441 DTM dtm = m_lpi.getXPathContext().getDTM(n); local 442 return dtm.getNodeName(n) + "{" + (n+1) + "}";
|
NodeSequence.java | 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMFilter; 27 import org.apache.xml.dtm.DTMIterator; 28 import org.apache.xml.dtm.DTMManager; 220 public DTM getDTM(int nodeHandle) 227 assertion(false, "Can not get a DTM Unless a DTMManager has been set!"); 252 return DTM.NULL; 328 return DTM.NULL; 333 return DTM.NULL 745 DTM dtm = m_dtmMgr.getDTM(node); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
NodeTest.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMFilter; 352 * {@link org.apache.xml.dtm.DTMFilter}. 363 return DTM.ELEMENT_NODE; 366 return DTM.ATTRIBUTE_NODE; 369 return DTM.TEXT_NODE; 372 return DTM.DOCUMENT_NODE; 375 return DTM.DOCUMENT_FRAGMENT_NODE; 378 return DTM.NAMESPACE_NODE 529 DTM dtm = xctxt.getDTM(context); local [all...] |
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); local 336 if (dtm != null) 338 int expType = dtm.getExpandedTypeID(currentNode); 340 return execute(xctxt, currentNode, dtm, expType) 529 DTM dtm = xctxt.getDTM(context); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
DOM2DTMdefaultNamespaceDeclarationNode.java | 22 package org.apache.xml.dtm.ref.dom2dtm; 24 import org.apache.xml.dtm.DTMException; 50 * in DTM space, but given how DOM2DTM is currently written I think
|