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

12345

/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DNodeTest.java27 import com.sun.org.apache.xml.internal.dtm.DTM;
34 public static final int TEXT = DTM.TEXT_NODE;
35 public static final int COMMENT = DTM.COMMENT_NODE;
36 public static final int PI = DTM.PROCESSING_INSTRUCTION_NODE;
37 public static final int ROOT = DTM.DOCUMENT_NODE;
38 public static final int ELEMENT = DTM.ELEMENT_NODE;
39 public static final int ATTRIBUTE = DTM.ATTRIBUTE_NODE;
42 public static final int GTYPE = DTM.NTYPES;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DConstants.java26 import com.sun.org.apache.xml.internal.dtm.DTM;
38 final static int ROOT = DTM.ROOT_NODE;
39 final static int TEXT = DTM.TEXT_NODE;
40 final static int ELEMENT = DTM.ELEMENT_NODE;
41 final static int COMMENT = DTM.COMMENT_NODE;
42 final static int PROCESSING_INSTRUCTION = DTM.PROCESSING_INSTRUCTION_NODE;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMChildIterNodeList.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
30 * NodeList interface wrapped around a DTM Iterator. The author
59 private DTM m_parentDTM;
75 * @param parentDTM The DTM containing this node
76 * @param parentHandle DTM node-handle integer
79 public DTMChildIterNodeList(DTM parentDTM,int parentHandle) {
99 while(--index>=0 && handle!=DTM.NULL) {
102 if (handle == DTM.NULL) {
115 handle!=DTM.NULL;
H A DDTMTreeWalker.java25 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
[all...]
H A DDTMDefaultBase.java46 public abstract class DTMDefaultBase implements DTM
52 // node of a DTM.
107 protected static final int NOTPROCESSED = DTM.NULL - 1;
110 * The DTM manager who "owns" this DTM.
128 a particular DTM wanted to use another value? */
160 * @param mgr The DTMManager who owns this DTM.
162 * @param dtmIdentity The DTM identity ID for this DTM.
163 * @param whiteSpaceFilter The white space filter for this DTM, whic
[all...]
H A DExpandedNameTable.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
32 * to DTM building. To get the best performance out of this class, we implement
54 public static final int ELEMENT = ((int)DTM.ELEMENT_NODE) ;
55 public static final int ATTRIBUTE = ((int)DTM.ATTRIBUTE_NODE) ;
56 public static final int TEXT = ((int)DTM.TEXT_NODE) ;
57 public static final int CDATA_SECTION = ((int)DTM.CDATA_SECTION_NODE) ;
58 public static final int ENTITY_REFERENCE = ((int)DTM.ENTITY_REFERENCE_NODE) ;
59 public static final int ENTITY = ((int)DTM.ENTITY_NODE) ;
60 public static final int PROCESSING_INSTRUCTION = ((int)DTM.PROCESSING_INSTRUCTION_NODE) ;
61 public static final int COMMENT = ((int)DTM
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DSelfIteratorNoPredicate.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
78 return DTM.NULL;
81 DTM dtm = m_cdtm;
83 m_lastFetched = next = (DTM.NULL == m_lastFetched)
85 : DTM.NULL;
88 if (DTM.NULL != next)
98 return DTM.NULL;
108 * @return the first node out of the nodeset, or DTM.NULL.
H A DChildIterator.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
66 * @return the first node out of the nodeset, or DTM.NULL.
73 DTM dtm = xctxt.getDTM(current);
89 return DTM.NULL;
93 m_lastFetched = next = (DTM.NULL == m_lastFetched)
98 if (DTM.NULL != next)
107 return DTM.NULL;
H A DBasicTestIterator.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
123 * @return The next node on the axis, or DTM.NULL.
139 m_lastFetched = DTM.NULL;
140 return DTM.NULL;
143 if(DTM.NULL == m_lastFetched)
174 if (DTM.NULL != next)
184 while (next != DTM.NULL);
186 if (DTM.NULL != next)
195 return DTM.NULL;
H A DAxesWalker.java28 import com.sun.org.apache.xml.internal.dtm.DTM;
181 m_currentNode = DTM.NULL;
185 m_root = DTM.NULL;
229 if (DTM.NULL == root)
325 return DTM.NULL;
335 else if(DTM.NULL != m_currentNode)
340 if (DTM.NULL == m_currentNode)
357 int nextNode = DTM.NULL;
367 if (DTM.NULL == nextNode)
443 while (DTM
[all...]
H A DLocPathIterator.java26 import com.sun.org.apache.xml.internal.dtm.DTM;
170 * Get an instance of a DTM that "owns" a node handle. Since a node
172 * caller to easily get the DTM using just the iterator.
176 * @return a non-null DTM reference.
178 public DTM getDTM(int nodeHandle)
244 DTM dtm = clone.getDTM(node);
247 if(node != DTM.NULL)
293 * @return the first node out of the nodeset, or DTM.NULL.
322 return (asNode(xctxt) != DTM.NULL);
374 m_lastFetched = DTM
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTMWSFilter.java26 * This interface is meant to be implemented by a client of the DTM, and allows
48 * view of <code>DTM</code>. Normally, this function
49 * will be called by the implementation of <code>DTM</code>;
56 public short getShouldStripSpace(int elementHandle, DTM dtm);
H A DDTMAxisIterator.java31 /** Specifies the end of the iteration, and is the same as DTM.NULL. */
32 public static final int END = DTM.NULL;
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/functions/
H A DFuncLocalPart.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
50 if(DTM.NULL == context)
52 DTM dtm = xctxt.getDTM(context);
53 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
H A DFuncDoclocation.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
53 if (DTM.NULL != whereNode)
55 DTM dtm = xctxt.getDTM(whereNode);
58 if (DTM.DOCUMENT_FRAGMENT_NODE == dtm.getNodeType(whereNode))
63 if (DTM.NULL != whereNode)
H A DFuncLang.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
52 DTM dtm = xctxt.getDTM(parent);
54 while (DTM.NULL != parent)
56 if (DTM.ELEMENT_NODE == dtm.getNodeType(parent))
60 if (DTM.NULL != langAttr)
H A DFuncNamespace.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
52 if(context != DTM.NULL)
54 DTM dtm = xctxt.getDTM(context);
56 if(t == DTM.ELEMENT_NODE)
60 else if(t == DTM.ATTRIBUTE_NODE)
H A DFuncQname.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
52 if (DTM.NULL != context)
54 DTM dtm = xctxt.getDTM(context);
H A DFunctionDef1Arg.java26 import com.sun.org.apache.xml.internal.dtm.DTM;
89 if(DTM.NULL == currentNode)
93 DTM dtm = xctxt.getDTM(currentNode);
122 if(DTM.NULL == currentNode)
126 DTM dtm = xctxt.getDTM(currentNode);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DDTMXRTreeFrag.java23 import com.sun.org.apache.xml.internal.dtm.DTM;
29 * Simple wrapper to DTM and XPathContext objects.
33 private DTM m_dtm;
34 private int m_dtmIdentity = DTM.NULL;
48 final DTM getDTM(){return m_dtm;}
H A DXNull.java25 import com.sun.org.apache.xml.internal.dtm.DTM;
106 // DTM frag = support.createDocumentFragment();
108 return DTM.NULL;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/
H A DNodeIterator.java26 import com.sun.org.apache.xml.internal.dtm.DTM;
33 public static final int END = DTM.NULL;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/sax2dtm/
H A DSAX2DTM2.java44 * access to the DTM model. Some nested iterators in DTMDefaultBaseIterators
49 * use it in incremental situation. To reduce the overhead of pulling data from the DTM model,
96 _currentNode = (node == DTM.NULL) ? DTM.NULL
132 private int _nodeType = DTM.NULL;
151 if (node != DTM.NULL)
154 _currentNode = DTM.NULL;
190 return DTM.NULL;
197 else if (_nodeType >= DTM.NTYPES) {
210 return DTM
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DSimpleResultTreeImpl.java30 import com.sun.org.apache.xml.internal.dtm.DTM;
60 * This class implements DOM and SerializationHandler. It also implements the DTM interface
64 public class SimpleResultTreeImpl extends EmptySerializer implements DOM, DTM
110 if ((_currentNode == RTF_ROOT && _type == DTM.ROOT_NODE)
111 || (_currentNode == RTF_TEXT && _type == DTM.TEXT_NODE))
126 if ((_currentNode == RTF_ROOT && _type == DTM.ROOT_NODE)
127 || (_currentNode == RTF_TEXT && _type == DTM.TEXT_NODE))
146 if (!_includeSelf && nodeID != DTM.NULL) {
211 if ((_currentNode == RTF_ROOT && _type == DTM.ROOT_NODE)
212 || (_currentNode == RTF_TEXT && _type == DTM
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DContextMatchStepPattern.java26 import com.sun.org.apache.xml.internal.dtm.DTM;
94 DTM dtm = xctxt.getDTM(context);
105 == DTM.ATTRIBUTE_NODE);
114 for (int relative = traverser.first(context); DTM.NULL != relative;
134 && (DTM.ELEMENT_NODE == dtm.getNodeType(relative)))
142 DTM.NULL != arelative;

Completed in 1430 milliseconds

12345