/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);
|
DTMDOMException.java | 21 package org.apache.xml.dtm; 34 * Constructs a DOM/DTM exception.
|
/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...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNamedNodeMap.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 47 /** The DTM for this node. */ 48 DTM dtm; field in class:DTMNamedNodeMap 50 /** The DTM element handle. */ 57 * Create a getAttributes NamedNodeMap for a given DTM element node 59 * @param dtm The DTM Reference, must be non-null [all...] |
DTMManagerDefault.java | 21 package org.apache.xml.dtm.ref; 30 import org.apache.xml.dtm.DTM; 31 import org.apache.xml.dtm.DTMException; 32 import org.apache.xml.dtm.DTMFilter; 33 import org.apache.xml.dtm.DTMIterator; 34 import org.apache.xml.dtm.DTMManager; 35 import org.apache.xml.dtm.DTMWSFilter; 36 import org.apache.xml.dtm.ref.dom2dtm.DOM2DTM; 37 import org.apache.xml.dtm.ref.sax2dtm.SAX2DTM 253 DOM2DTM dtm = new DOM2DTM(this, (DOMSource) source, documentID, local 274 SAX2DTM dtm; local 559 DOM2DTM dtm = (DOM2DTM) getDTM(new javax.xml.transform.dom.DOMSource(root), local [all...] |
DTMNodeListBase.java | 21 package org.apache.xml.dtm.ref; 26 * NodeList interface wrapped around a DTM Iterator. The author
|
DTMAxisIterNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMAxisIterator; 31 * NodeList interface wrapped around a DTM Iterator. The author 59 private DTM m_dtm; 72 public DTMAxisIterNodeList(DTM dtm, DTMAxisIterator dtmAxisIterator) { 77 m_dtm = dtm;
|
DTMNodeList.java | 21 package org.apache.xml.dtm.ref; 23 import org.apache.xml.dtm.DTM; 24 import org.apache.xml.dtm.DTMIterator; 29 * NodeList interface wrapped around a DTM Iterator. The author 111 if (handle == DTM.NULL) {
|
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...] |
DTMNodeProxy.java | 21 package org.apache.xml.dtm.ref; 25 import org.apache.xml.dtm.DTM; 26 import org.apache.xml.dtm.DTMDOMException; 50 * <code>DTMNodeProxy</code> presents a DOM Node API front-end to the DTM model. 54 * DTM node. Users can create a mechanism for managing this, or relinquish the 68 /** The DTM for this node. */ 69 public DTM dtm; field in class:DTMNodeProxy 71 /** The DTM node handle. * [all...] |
/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...] |
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...] |
TreeWalker2Result.java | 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.ref.DTMTreeWalker; 88 if(DTM.ELEMENT_NODE == m_dtm.getNodeType(node)) 109 if (DTM.ELEMENT_NODE == m_dtm.getNodeType(node)) 127 DTM dtm = m_dtm; local 128 for (int ns = dtm.getFirstNamespaceNode(node, true); 129 DTM.NULL != ns; ns = dtm.getNextNamespaceNode(node, ns, true) [all...] |
/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...] |
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);
|
FuncUnparsedEntityURI.java | 23 import org.apache.xml.dtm.DTM; 48 DTM dtm = xctxt.getDTM(context); local 49 int doc = dtm.getDocument(); 51 String uri = dtm.getUnparsedEntityURI(name);
|
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...] |
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) : "";
|
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);
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
ContextMatchStepPattern.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisTraverser; 26 import org.apache.xml.dtm.DTMFilter; 92 DTM dtm = xctxt.getDTM(context); local 94 if (null != dtm) 102 boolean iterRootIsAttr = (dtm.getNodeType(xctxt.getIteratorRoot()) 103 == DTM.ATTRIBUTE_NODE) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemCopy.java | 27 import org.apache.xml.dtm.DTM; 98 DTM dtm = xctxt.getDTM(sourceNode); local 99 short nodeType = dtm.getNodeType(sourceNode); 101 if ((DTM.DOCUMENT_NODE != nodeType) && (DTM.DOCUMENT_FRAGMENT_NODE != nodeType)) 106 ClonerToResultTree.cloneToResultTree(sourceNode, nodeType, dtm, 109 if (DTM.ELEMENT_NODE == nodeType) 112 SerializerUtils.processNSDecls(rthandler, sourceNode, nodeType, dtm); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
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...] |
ChildTestIterator.java | 23 import org.apache.xml.dtm.Axis; 24 import org.apache.xml.dtm.DTM; 25 import org.apache.xml.dtm.DTMAxisTraverser; 26 import org.apache.xml.dtm.DTMIterator; 77 * @return The next node on the axis, or DTM.NULL. 83 m_lastFetched = (DTM.NULL == m_lastFetched) 89 // m_lastFetched = (DTM.NULL == m_lastFetched) 157 return org.apache.xml.dtm.Axis.CHILD;
|
AttributeIterator.java | 23 import org.apache.xml.dtm.DTM; 56 m_lastFetched = (DTM.NULL == m_lastFetched) 70 return org.apache.xml.dtm.Axis.ATTRIBUTE;
|