Lines Matching defs:dtm
21 package org.apache.xml.dtm.ref;
23 import org.apache.xml.dtm.DTM;
51 * @param dtm The Document Table Model to be used.
53 public void setDTM(DTM dtm)
55 m_dtm = dtm;
91 public DTMTreeWalker(ContentHandler contentHandler, DTM dtm)
94 m_dtm = dtm;
245 DTM dtm = m_dtm;
247 for (int nsn = dtm.getFirstNamespaceNode(node, true); DTM.NULL != nsn;
248 nsn = dtm.getNextNamespaceNode(node, nsn, true))
250 // String prefix = dtm.getPrefix(nsn);
251 String prefix = dtm.getNodeNameX(nsn);
253 this.m_contentHandler.startPrefixMapping(prefix, dtm.getNodeValue(nsn));
259 String ns = dtm.getNamespaceURI(node);
267 for (int i = dtm.getFirstAttribute(node);
269 i = dtm.getNextAttribute(i))
271 attrs.addAttribute(dtm.getNamespaceURI(i),
272 dtm.getLocalName(i),
273 dtm.getNodeName(i),
275 dtm.getNodeValue(i));