Searched refs:DTM (Results 1 - 25 of 94) sorted by relevance

1234

/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DClonerToResultTree.java26 import org.apache.xml.dtm.DTM;
56 // DTM dtm = xctxt.getDTM(node);
61 // case DTM.TEXT_NODE :
64 // case DTM.DOCUMENT_FRAGMENT_NODE :
65 // case DTM.DOCUMENT_NODE :
70 // case DTM.ELEMENT_NODE :
86 // case DTM.CDATA_SECTION_NODE :
91 // case DTM.ATTRIBUTE_NODE :
94 // case DTM.COMMENT_NODE :
98 // case DTM
[all...]
H A DCounter.java26 import org.apache.xml.dtm.DTM;
64 int m_fromNode = DTM.NULL;
134 DTM dtm = support.getDTM(countedNode);
155 return (size > 0) ? m_countNodes.elementAt(size - 1) : DTM.NULL;
H A DXalanTransformState.java28 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);
92 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getCurrentNode());
123 DTM dtm = m_transformer.getXPathContext().getDTM(m_matchedNode);
126 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getMatchedNode());
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMChildIterNodeList.java23 import org.apache.xml.dtm.DTM;
28 * NodeList interface wrapped around a DTM Iterator. The author
57 private DTM m_parentDTM;
73 * @param parentDTM The DTM containing this node
74 * @param parentHandle DTM node-handle integer
77 public DTMChildIterNodeList(DTM parentDTM,int parentHandle) {
97 while(--index>=0 && handle!=DTM.NULL) {
100 if (handle == DTM.NULL) {
113 handle!=DTM.NULL;
H A DDTMTreeWalker.java23 import org.apache.xml.dtm.DTM;
31 * This class does a pre-order walk of the DTM tree, calling a ContentHandler
36 * of DTM#dispatchToEvents.
46 protected DTM m_dtm;
49 * Set the DTM to be traversed.
53 public void setDTM(DTM dtm)
91 public DTMTreeWalker(ContentHandler contentHandler, DTM dtm)
112 while (DTM.NULL != pos)
116 while (DTM.NULL == nextNode)
125 if (DTM
[all...]
H A DDTMDefaultBase.java44 public abstract class DTMDefaultBase implements DTM
50 // node of a DTM.
105 protected static final int NOTPROCESSED = DTM.NULL - 1;
108 * The DTM manager who "owns" this DTM.
126 a particular DTM wanted to use another value? */
158 * @param mgr The DTMManager who owns this DTM.
160 * @param dtmIdentity The DTM identity ID for this DTM.
161 * @param whiteSpaceFilter The white space filter for this DTM, whic
[all...]
H A DExpandedNameTable.java23 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) ;
58 public static final int PROCESSING_INSTRUCTION = ((int)DTM.PROCESSING_INSTRUCTION_NODE) ;
59 public static final int COMMENT = ((int)DTM
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DSelfIteratorNoPredicate.java23 import org.apache.xml.dtm.DTM;
76 return DTM.NULL;
80 m_lastFetched = next = (DTM.NULL == m_lastFetched)
82 : DTM.NULL;
85 if (DTM.NULL != next)
95 return DTM.NULL;
105 * @return the first node out of the nodeset, or DTM.NULL.
H A DChildIterator.java23 import org.apache.xml.dtm.DTM;
64 * @return the first node out of the nodeset, or DTM.NULL.
71 DTM dtm = xctxt.getDTM(current);
87 return DTM.NULL;
91 m_lastFetched = next = (DTM.NULL == m_lastFetched)
96 if (DTM.NULL != next)
105 return DTM.NULL;
H A DAttributeIterator.java23 import org.apache.xml.dtm.DTM;
56 m_lastFetched = (DTM.NULL == m_lastFetched)
H A DBasicTestIterator.java23 import org.apache.xml.dtm.DTM;
121 * @return The next node on the axis, or DTM.NULL.
137 m_lastFetched = DTM.NULL;
138 return DTM.NULL;
141 if(DTM.NULL == m_lastFetched)
172 if (DTM.NULL != next)
182 while (next != DTM.NULL);
184 if (DTM.NULL != next)
193 return DTM.NULL;
/external/apache-xml/src/main/java/org/apache/xml/dtm/
H A DDTMWSFilter.java24 * This interface is meant to be implemented by a client of the DTM, and allows
46 * view of <code>DTM</code>. Normally, this function
47 * will be called by the implementation of <code>DTM</code>;
54 public short getShouldStripSpace(int elementHandle, DTM dtm);
H A DDTMAxisIterator.java29 /** Specifies the end of the iteration, and is the same as DTM.NULL. */
30 public static final int END = DTM.NULL;
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncDoclocation.java23 import org.apache.xml.dtm.DTM;
51 if (DTM.NULL != whereNode)
53 DTM dtm = xctxt.getDTM(whereNode);
56 if (DTM.DOCUMENT_FRAGMENT_NODE == dtm.getNodeType(whereNode))
61 if (DTM.NULL != whereNode)
H A DFuncLocalPart.java23 import org.apache.xml.dtm.DTM;
48 if(DTM.NULL == context)
50 DTM dtm = xctxt.getDTM(context);
51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
H A DFuncLang.java23 import org.apache.xml.dtm.DTM;
50 DTM dtm = xctxt.getDTM(parent);
52 while (DTM.NULL != parent)
54 if (DTM.ELEMENT_NODE == dtm.getNodeType(parent))
58 if (DTM.NULL != langAttr)
H A DFuncNamespace.java23 import org.apache.xml.dtm.DTM;
50 if(context != DTM.NULL)
52 DTM dtm = xctxt.getDTM(context);
54 if(t == DTM.ELEMENT_NODE)
58 else if(t == DTM.ATTRIBUTE_NODE)
H A DFuncQname.java23 import org.apache.xml.dtm.DTM;
50 if (DTM.NULL != context)
52 DTM dtm = xctxt.getDTM(context);
H A DFuncSum.java23 import org.apache.xml.dtm.DTM;
53 while (DTM.NULL != (pos = nodes.nextNode()))
55 DTM dtm = nodes.getDTM(pos);
H A DFuncGenerateId.java23 import org.apache.xml.dtm.DTM;
49 if (DTM.NULL != which)
H A DFuncId.java25 import org.apache.xml.dtm.DTM;
66 DTM dtm = xctxt.getDTM(docContext);
82 if (DTM.NULL != node)
110 DTM dtm = xctxt.getDTM(context);
113 if (DTM.NULL == docContext)
127 while (DTM.NULL != pos)
129 DTM ndtm = ni.getDTM(pos);
134 DTM.NULL != pos);
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DDTMXRTreeFrag.java21 import org.apache.xml.dtm.DTM;
27 * Simple wrapper to DTM and XPathContext objects.
31 private DTM m_dtm;
32 private int m_dtmIdentity = DTM.NULL;
46 final DTM getDTM(){return m_dtm;}
H A DXNull.java23 import org.apache.xml.dtm.DTM;
104 // DTM frag = support.createDocumentFragment();
106 return DTM.NULL;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
H A DSAX2DTM2.java42 * access to the DTM model. Some nested iterators in DTMDefaultBaseIterators
47 * use it in incremental situation. To reduce the overhead of pulling data from the DTM model,
94 _currentNode = (node == DTM.NULL) ? DTM.NULL
130 private int _nodeType = DTM.NULL;
149 if (node != DTM.NULL)
152 _currentNode = DTM.NULL;
188 return DTM.NULL;
195 else if (_nodeType >= DTM.NTYPES) {
208 return DTM
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/serialize/
H A DSerializerUtils.java26 import org.apache.xml.dtm.DTM;
60 DTM dtm = transformer.getXPathContext().getDTM(attr);
99 DTM dtm = transformer.getXPathContext().getDTM(src);
102 DTM.NULL != node;
126 DTM dtm = support.getDTM(doc);
131 DTM.NULL != n;
138 if (dtm.getNodeType(n) == DTM.ELEMENT_NODE
162 DTM dtm)
168 if (type == DTM.ELEMENT_NODE)
171 DTM
[all...]

Completed in 1496 milliseconds

1234