/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
ClonerToResultTree.java | 26 import org.apache.xml.dtm.DTM; 56 // DTM dtm = xctxt.getDTM(node); 58 // int type = dtm.getNodeType(node); 61 // case DTM.TEXT_NODE : 62 // dtm.dispatchCharactersEvents(node, m_rth, false); 64 // case DTM.DOCUMENT_FRAGMENT_NODE : 65 // case DTM.DOCUMENT_NODE : 70 // case DTM.ELEMENT_NODE [all...] |
Counter.java | 26 import org.apache.xml.dtm.DTM; 64 int m_fromNode = DTM.NULL; 134 DTM dtm = support.getDTM(countedNode); local 138 if (dtm.isNodeAfter(countedNode, node)) 155 return (size > 0) ? m_countNodes.elementAt(size - 1) : DTM.NULL;
|
XalanTransformState.java | 28 import org.apache.xml.dtm.DTM; 29 import org.apache.xml.dtm.DTMIterator; 44 int m_currentNodeHandle = DTM.NULL; 46 int m_matchedNode = DTM.NULL; 68 DTM dtm = m_transformer.getXPathContext().getDTM(currentNodeHandle); local 69 m_currentNode = dtm.getNode(currentNodeHandle); 92 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getCurrentNode()) local 123 DTM dtm = m_transformer.getXPathContext().getDTM(m_matchedNode); local 126 DTM dtm = m_transformer.getXPathContext().getDTM(m_transformer.getMatchedNode()); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMChildIterNodeList.java | 21 package org.apache.xml.dtm.ref; 23 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) [all...] |
DTMTreeWalker.java | 21 package org.apache.xml.dtm.ref; 23 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. 51 * @param dtm The Document Table Model to be used. 53 public void setDTM(DTM dtm) 245 DTM dtm = m_dtm; local [all...] |
DTMDefaultBase.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.*; 44 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 [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...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
SelfIteratorNoPredicate.java | 23 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.
|
ChildIterator.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMFilter; 64 * @return the first node out of the nodeset, or DTM.NULL. 71 DTM dtm = xctxt.getDTM(current); local 73 return dtm.getFirstChild(current); 87 return DTM.NULL; 91 m_lastFetched = next = (DTM.NULL == m_lastFetched) 96 if (DTM.NULL != next [all...] |
AttributeIterator.java | 23 import org.apache.xml.dtm.DTM; 56 m_lastFetched = (DTM.NULL == m_lastFetched) 70 return org.apache.xml.dtm.Axis.ATTRIBUTE;
|
BasicTestIterator.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMFilter; 25 import org.apache.xml.dtm.DTMIterator; 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) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMWSFilter.java | 21 package org.apache.xml.dtm; 24 * 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);
|
DTMAxisIterator.java | 21 package org.apache.xml.dtm; 29 /** 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/ |
FuncDoclocation.java | 23 import org.apache.xml.dtm.DTM; 51 if (DTM.NULL != whereNode) 53 DTM dtm = xctxt.getDTM(whereNode); local 56 if (DTM.DOCUMENT_FRAGMENT_NODE == dtm.getNodeType(whereNode)) 58 whereNode = dtm.getFirstChild(whereNode); 61 if (DTM.NULL != whereNode) 63 fileLocation = dtm.getDocumentBaseURI() [all...] |
FuncLocalPart.java | 23 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) : "";
|
FuncLang.java | 23 import org.apache.xml.dtm.DTM; 50 DTM dtm = xctxt.getDTM(parent); local 52 while (DTM.NULL != parent) 54 if (DTM.ELEMENT_NODE == dtm.getNodeType(parent)) 56 int langAttr = dtm.getAttributeNode(parent, "http://www.w3.org/XML/1998/namespace", "lang"); 58 if (DTM.NULL != langAttr) 60 String langVal = dtm.getNodeValue(langAttr) [all...] |
FuncNamespace.java | 23 import org.apache.xml.dtm.DTM; 50 if(context != DTM.NULL) 52 DTM dtm = xctxt.getDTM(context); local 53 int t = dtm.getNodeType(context); 54 if(t == DTM.ELEMENT_NODE) 56 s = dtm.getNamespaceURI(context); 58 else if(t == DTM.ATTRIBUTE_NODE) 64 s = dtm.getNodeName(context) [all...] |
FuncQname.java | 23 import org.apache.xml.dtm.DTM; 50 if (DTM.NULL != context) 52 DTM dtm = xctxt.getDTM(context); local 53 String qname = dtm.getNodeNameX(context);
|
FuncSum.java | 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMIterator; 53 while (DTM.NULL != (pos = nodes.nextNode())) 55 DTM dtm = nodes.getDTM(pos); local 56 XMLString s = dtm.getStringValue(pos);
|
FuncGenerateId.java | 23 import org.apache.xml.dtm.DTM; 49 if (DTM.NULL != which)
|
FuncId.java | 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMIterator; 66 DTM dtm = xctxt.getDTM(docContext); local 80 int node = dtm.getElementById(ref); 82 if (DTM.NULL != node) 110 DTM dtm = xctxt.getDTM(context); local 111 int docContext = dtm.getDocument() [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
DTMXRTreeFrag.java | 21 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;}
|
XNull.java | 23 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/ |
SAX2DTM2.java | 21 package org.apache.xml.dtm.ref.sax2dtm; 23 import org.apache.xml.dtm.*; 24 import org.apache.xml.dtm.ref.*; 42 * 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 [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/serialize/ |
SerializerUtils.java | 26 import org.apache.xml.dtm.DTM; 37 * apache.xml.dtm or org.apache.xalan.transformer. The package org.apache.xml. 60 DTM dtm = transformer.getXPathContext().getDTM(attr); local 62 if (SerializerUtils.isDefinedNSDecl(handler, attr, dtm)) 65 String ns = dtm.getNamespaceURI(attr); 75 dtm.getLocalName(attr), 76 dtm.getNodeName(attr), 78 dtm.getNodeValue(attr), false) 99 DTM dtm = transformer.getXPathContext().getDTM(src); local 126 DTM dtm = support.getDTM(doc); local [all...] |