/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMTreeWalker.java | 23 import org.apache.xml.dtm.DTM; 46 protected DTM m_dtm; 53 public void setDTM(DTM dtm) in setDTM() 91 public DTMTreeWalker(ContentHandler contentHandler, DTM dtm) in DTMTreeWalker() 112 while (DTM.NULL != pos) in traverse() 116 while (DTM.NULL == nextNode) in traverse() 125 if (DTM.NULL == nextNode) in traverse() 129 if ((DTM.NULL == pos) || (top == pos)) in traverse() 133 if (DTM.NULL != pos) in traverse() 136 nextNode = DTM.NULL; in traverse() [all …]
|
D | DTMDefaultBase.java | 44 public abstract class DTMDefaultBase implements DTM 105 protected static final int NOTPROCESSED = DTM.NULL - 1; 323 if (DTM.ELEMENT_NODE == type) in indexNode() 479 if (identity == DTM.NULL) in _exptype() 675 case DTM.ATTRIBUTE_NODE : in dumpDTM() 678 case DTM.CDATA_SECTION_NODE : in dumpDTM() 681 case DTM.COMMENT_NODE : in dumpDTM() 684 case DTM.DOCUMENT_FRAGMENT_NODE : in dumpDTM() 687 case DTM.DOCUMENT_NODE : in dumpDTM() 690 case DTM.DOCUMENT_TYPE_NODE : in dumpDTM() [all …]
|
D | ExpandedNameTable.java | 23 import org.apache.xml.dtm.DTM; 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) ; 58 public static final int PROCESSING_INSTRUCTION = ((int)DTM.PROCESSING_INSTRUCTION_NODE) ; 59 public static final int COMMENT = ((int)DTM.COMMENT_NODE) ; 60 public static final int DOCUMENT = ((int)DTM.DOCUMENT_NODE) ; [all …]
|
D | DTMDefaultBaseIterators.java | 310 _currentNode = (node == DTM.NULL) ? DTM.NULL in setStartNode() 400 if (_nodeType >= DTM.NTYPES) { in next() 455 _currentNode = (node == DTM.NULL) in setStartNode() 456 ? DTM.NULL in setStartNode() 477 if (nodeType >= DTM.NTYPES) { in next() 478 while (node != DTM.NULL && _exptype(node) != nodeType) { in next() 482 while (node != DTM.NULL) { in next() 484 if (eType < DTM.NTYPES) { in next() 495 if (node == DTM.NULL) { in next() 496 _currentNode = DTM.NULL; in next() [all …]
|
D | DTMChildIterNodeList.java | 23 import org.apache.xml.dtm.DTM; 57 private DTM m_parentDTM; 77 public DTMChildIterNodeList(DTM parentDTM,int parentHandle) { in DTMChildIterNodeList() 97 while(--index>=0 && handle!=DTM.NULL) { in item() 100 if (handle == DTM.NULL) { in item() 113 handle!=DTM.NULL; in getLength()
|
D | DTMManagerDefault.java | 30 import org.apache.xml.dtm.DTM; 94 protected DTM m_dtms[] = new DTM[256]; 130 synchronized public void addDTM(DTM dtm, int id) { addDTM(dtm,id,0); } in addDTM() 143 synchronized public void addDTM(DTM dtm, int id, int offset) in addDTM() 166 DTM new_m_dtms[] = new DTM[newlen]; in addDTM() 236 synchronized public DTM getDTM(Source source, boolean unique, in getDTM() 525 DTM thisDTM=m_dtms[i]; in getDTMHandleFromNode() 529 if(handle!=DTM.NULL) return handle; in getDTMHandleFromNode() 575 if(DTM.NULL == handle) in getDTMHandleFromNode() 643 synchronized public DTM getDTM(int nodeHandle) in getDTM() [all …]
|
D | DTMNodeProxy.java | 25 import org.apache.xml.dtm.DTM; 69 public DTM dtm; 86 public DTMNodeProxy(DTM dtm, int node) in DTMNodeProxy() 97 public final DTM getDTM() in getDTM() 342 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getParentNode() 355 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getOwnerNode() 384 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getFirstChild() 397 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getLastChild() 410 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getPreviousSibling() 427 return (newnode == DTM.NULL) ? null : dtm.getNode(newnode); in getNextSibling() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/ |
D | SAX2DTM2.java | 94 _currentNode = (node == DTM.NULL) ? DTM.NULL in setStartNode() 130 private int _nodeType = DTM.NULL; 149 if (node != DTM.NULL) in setStartNode() 152 _currentNode = DTM.NULL; in setStartNode() 188 return DTM.NULL; in next() 195 else if (_nodeType >= DTM.NTYPES) { in next() 208 return DTM.NULL; in next() 251 _currentNode = (node == DTM.NULL) in setStartNode() 252 ? DTM.NULL in setStartNode() 269 if (node == DTM.NULL) in next() [all …]
|
D | SAX2DTM.java | 111 transient protected int m_textType = DTM.TEXT_NODE; 117 transient protected int m_coalescedTextType = DTM.TEXT_NODE; 506 if (identity == DTM.NULL) in dispatchCharactersEvents() 526 if (DTM.NULL != firstChild) in dispatchCharactersEvents() 550 } while (DTM.NULL != identity && (_parent(identity) >= startNode)); in dispatchCharactersEvents() 560 else if(type != DTM.ELEMENT_NODE) in dispatchCharactersEvents() 604 if (type == DTM.NAMESPACE_NODE) in getNodeName() 717 return DTM.NULL; in getNextNodeIdentity() 835 return (DTM.TEXT_NODE == type || DTM.CDATA_SECTION_NODE == type); in isTextType() 880 m_firstch.addElement(canHaveFirstChild ? NOTPROCESSED : DTM.NULL); in addNode() [all …]
|
/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() 142 case DTM.TEXT_NODE : in cloneToResultTree() 145 case DTM.DOCUMENT_FRAGMENT_NODE : in cloneToResultTree() 146 case DTM.DOCUMENT_NODE : in cloneToResultTree() 150 case DTM.ELEMENT_NODE : in cloneToResultTree() 172 case DTM.CDATA_SECTION_NODE : in cloneToResultTree() 177 case DTM.ATTRIBUTE_NODE : in cloneToResultTree() 180 case DTM.NAMESPACE_NODE: in cloneToResultTree() 185 SerializerUtils.processNSDecls(rth,node,DTM.NAMESPACE_NODE,dtm); in cloneToResultTree() [all …]
|
D | XalanTransformState.java | 28 import org.apache.xml.dtm.DTM; 44 int m_currentNodeHandle = DTM.NULL; 46 int m_matchedNode = DTM.NULL; 68 DTM dtm = m_transformer.getXPathContext().getDTM(currentNodeHandle); in resetState() 92 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getCurrentNode()); in getCurrentNode() 123 DTM dtm = m_transformer.getXPathContext().getDTM(m_matchedNode); in getMatchedNode() 126 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getMatchedNode()); in getMatchedNode()
|
/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() 99 DTM dtm = transformer.getXPathContext().getDTM(src); in addAttributes() 102 DTM.NULL != node; in addAttributes() 126 DTM dtm = support.getDTM(doc); in outputResultTreeFragment() 131 DTM.NULL != n; in outputResultTreeFragment() 138 if (dtm.getNodeType(n) == DTM.ELEMENT_NODE in outputResultTreeFragment() 162 DTM dtm) in processNSDecls() 168 if (type == DTM.ELEMENT_NODE) in processNSDecls() 171 DTM.NULL != namespace; in processNSDecls() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
D | DOM2DTM.java | 28 import org.apache.xml.dtm.DTM; 156 m_firstch.setElementAt(DTM.NULL,attrIndex); in DOM2DTM() 160 m_nextsib.setElementAt(DTM.NULL,attrIndex); in DOM2DTM() 242 type = DTM.NAMESPACE_NODE; in addNode() 253 if(DTM.NULL != parentIndex && in addNode() 254 type != DTM.ATTRIBUTE_NODE && in addNode() 255 type != DTM.NAMESPACE_NODE) in addNode() 300 if (DTM.NULL != previousSibling) in addNode() 305 if (type == DTM.NAMESPACE_NODE) in addNode() 544 m_firstch.setElementAt(DTM.NULL,attrIndex); in nextNode() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | TemplateList.java | 30 import org.apache.xml.dtm.DTM; 431 int targetNode, DTM dtm) in getHead() 438 case DTM.ELEMENT_NODE : in getHead() 439 case DTM.ATTRIBUTE_NODE : in getHead() 443 case DTM.TEXT_NODE : in getHead() 444 case DTM.CDATA_SECTION_NODE : in getHead() 447 case DTM.ENTITY_REFERENCE_NODE : in getHead() 448 case DTM.ENTITY_NODE : in getHead() 452 case DTM.PROCESSING_INSTRUCTION_NODE : in getHead() 456 case DTM.COMMENT_NODE : in getHead() [all …]
|
D | FuncDocument.java | 34 import org.apache.xml.dtm.DTM; 76 DTM dtm = xctxt.getDTM(context); in execute() 97 if (baseNode == DTM.NULL) in execute() 106 DTM baseDTM = xctxt.getDTM(baseNode); in execute() 148 int pos = DTM.NULL; in execute() 150 while ((null == iterator) || (DTM.NULL != (pos = iterator.nextNode()))) in execute() 163 if (null == arg1Expr && DTM.NULL != pos) in execute() 165 DTM baseDTM = xctxt.getDTM(pos); in execute() 172 if (DTM.NULL == docContext) in execute() 197 if (DTM.NULL != newDoc) in execute() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | LocPathIterator.java | 24 import org.apache.xml.dtm.DTM; 176 public DTM getDTM(int nodeHandle) in getDTM() 242 DTM dtm = clone.getDTM(node); in executeCharsToContentHandler() 245 if(node != DTM.NULL) in executeCharsToContentHandler() 320 return (asNode(xctxt) != DTM.NULL); in bool() 372 m_lastFetched = DTM.NULL; in setRoot() 556 while (DTM.NULL != (next = clone.nextNode())) in getLength() 687 m_lastFetched = DTM.NULL; in detach() 688 m_context = DTM.NULL; in detach() 689 m_currentContextNode = DTM.NULL; in detach() [all …]
|
D | AxesWalker.java | 26 import org.apache.xml.dtm.DTM; 179 m_currentNode = DTM.NULL; in detach() 183 m_root = DTM.NULL; in detach() 227 if (DTM.NULL == root) in setRoot() 323 return DTM.NULL; in getNextNode() 333 else if(DTM.NULL != m_currentNode) in getNextNode() 338 if (DTM.NULL == m_currentNode) in getNextNode() 355 int nextNode = DTM.NULL; in nextNode() 365 if (DTM.NULL == nextNode) in nextNode() 441 while (DTM.NULL != (next = walker.nextNode())) in getLastPos() [all …]
|
D | BasicTestIterator.java | 23 import org.apache.xml.dtm.DTM; 137 m_lastFetched = DTM.NULL; in nextNode() 138 return DTM.NULL; in nextNode() 141 if(DTM.NULL == m_lastFetched) in nextNode() 172 if (DTM.NULL != next) in nextNode() 182 while (next != DTM.NULL); in nextNode() 184 if (DTM.NULL != next) in nextNode() 193 return DTM.NULL; in nextNode()
|
D | SelfIteratorNoPredicate.java | 23 import org.apache.xml.dtm.DTM; 76 return DTM.NULL; in nextNode() 80 m_lastFetched = next = (DTM.NULL == m_lastFetched) in nextNode() 82 : DTM.NULL; in nextNode() 85 if (DTM.NULL != next) in nextNode() 95 return DTM.NULL; in nextNode()
|
D | ChildIterator.java | 23 import org.apache.xml.dtm.DTM; 71 DTM dtm = xctxt.getDTM(current); in asNode() 87 return DTM.NULL; in nextNode() 91 m_lastFetched = next = (DTM.NULL == m_lastFetched) in nextNode() 96 if (DTM.NULL != next) in nextNode() 105 return DTM.NULL; in nextNode()
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
D | NodeTest.java | 23 import org.apache.xml.dtm.DTM; 363 return DTM.ELEMENT_NODE; in getNodeTypeTest() 366 return DTM.ATTRIBUTE_NODE; in getNodeTypeTest() 369 return DTM.TEXT_NODE; in getNodeTypeTest() 372 return DTM.DOCUMENT_NODE; in getNodeTypeTest() 375 return DTM.DOCUMENT_FRAGMENT_NODE; in getNodeTypeTest() 378 return DTM.NAMESPACE_NODE; in getNodeTypeTest() 381 return DTM.COMMENT_NODE; in getNodeTypeTest() 384 return DTM.PROCESSING_INSTRUCTION_NODE; in getNodeTypeTest() 387 return DTM.DOCUMENT_TYPE_NODE; in getNodeTypeTest() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncId.java | 25 import org.apache.xml.dtm.DTM; 66 DTM dtm = xctxt.getDTM(docContext); in getNodesByID() 82 if (DTM.NULL != node) in getNodesByID() 110 DTM dtm = xctxt.getDTM(context); in execute() 113 if (DTM.NULL == docContext) in execute() 127 while (DTM.NULL != pos) in execute() 129 DTM ndtm = ni.getDTM(pos); in execute() 134 DTM.NULL != pos); in execute()
|
D | FuncDoclocation.java | 23 import org.apache.xml.dtm.DTM; 51 if (DTM.NULL != whereNode) in execute() 53 DTM dtm = xctxt.getDTM(whereNode); in execute() 56 if (DTM.DOCUMENT_FRAGMENT_NODE == dtm.getNodeType(whereNode)) in execute() 61 if (DTM.NULL != whereNode) in execute()
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XNodeSet.java | 23 import org.apache.xml.dtm.DTM; 97 this(DTM.NULL,dtmMgr); in XNodeSet() 111 if (DTM.NULL != n) in XNodeSet() 164 return (node != DTM.NULL) ? getNumberFromNode(node) : Double.NaN; in num() 178 return (node != DTM.NULL) ? getNumberFromNode(node) : Double.NaN; in numWithSideEffects() 189 return (item(0) != DTM.NULL); in bool() 200 return (nextNode() != DTM.NULL); in boolWithSideEffects() 215 if(DTM.NULL != n) in getStringFromNode() 241 if(node != DTM.NULL) in dispatchCharactersEvents() 256 return (node != DTM.NULL) ? getStringFromNode(node) : XString.EMPTYSTRING; in xstr() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | NodeVector.java | 25 import org.apache.xml.dtm.DTM; 191 m_map[m_firstFree] = DTM.NULL; in pop() 207 m_map[m_firstFree] = DTM.NULL; in popAndTop() 209 return (m_firstFree == 0) ? DTM.NULL : m_map[m_firstFree - 1]; in popAndTop() 220 m_map[m_firstFree] = DTM.NULL; in popQuick() 233 ? m_map[m_firstFree - 1] : DTM.NULL; in peepOrNull() 280 m_map[m_firstFree] = DTM.NULL; in popPair() 281 m_map[m_firstFree + 1] = DTM.NULL; in popPair() 436 m_map[i] = DTM.NULL; in removeAllElements() 480 m_map[i] = DTM.NULL; in removeElement() [all …]
|