Lines Matching refs:DTM
25 import com.sun.org.apache.xml.internal.dtm.DTM;
33 * This class does a pre-order walk of the DTM tree, calling a ContentHandler
38 * of DTM#dispatchToEvents.
48 protected DTM m_dtm;
51 * Set the DTM to be traversed.
55 public void setDTM(DTM dtm)
93 public DTMTreeWalker(ContentHandler contentHandler, DTM dtm)
114 while (DTM.NULL != pos)
118 while (DTM.NULL == nextNode)
127 if (DTM.NULL == nextNode)
131 if ((DTM.NULL == pos) || (top == pos))
135 if (DTM.NULL != pos)
138 nextNode = DTM.NULL;
156 * If top==DTM.NULL, run through end of document.
163 // if(top==DTM.NULL) top=0
165 // pos will never equal DTM.NULL until we're ready to exit?
167 while (DTM.NULL != pos)
171 while (DTM.NULL == nextNode)
175 if ((DTM.NULL != top) && top == pos)
180 if (DTM.NULL == nextNode)
184 if ((DTM.NULL == pos) || ((DTM.NULL != top) && (top == pos)))
186 nextNode = DTM.NULL;
228 case DTM.COMMENT_NODE :
239 case DTM.DOCUMENT_FRAGMENT_NODE :
243 case DTM.DOCUMENT_NODE :
246 case DTM.ELEMENT_NODE :
247 DTM dtm = m_dtm;
249 for (int nsn = dtm.getFirstNamespaceNode(node, true); DTM.NULL != nsn;
270 i != DTM.NULL;
286 case DTM.PROCESSING_INSTRUCTION_NODE :
302 case DTM.CDATA_SECTION_NODE :
323 case DTM.TEXT_NODE :
339 case DTM.ENTITY_REFERENCE_NODE :
370 case DTM.DOCUMENT_NODE :
373 case DTM.ELEMENT_NODE :
381 for (int nsn = m_dtm.getFirstNamespaceNode(node, true); DTM.NULL != nsn;
390 case DTM.CDATA_SECTION_NODE :
392 case DTM.ENTITY_REFERENCE_NODE :