/** * Create a new <code>DTMIterator</code> based on an XPath <a * href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or a <a * href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>. * * @param xpathString Must be a valid string expressing a <a * href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or a <a * href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>. * @param presolver An object that can resolve prefixes to namespace URLs. * @return The newly created <code>DTMIterator</code>. */ public DTMIterator createDTMIterator(String xpathString, PrefixResolver presolver) { return m_dtmManager.createDTMIterator(xpathString, presolver); }
/** * Create a new <code>DTMIterator</code> based only on a whatToShow and a DTMFilter. The traversal * semantics are defined as the descendant access. * * @param whatToShow This flag specifies which node types may appear in the logical view of the * tree presented by the iterator. See the description of <code>NodeFilter</code> for the set * of possible <code>SHOW_</code> values.These flags can be combined using <code>OR</code>. * @param filter The <code>NodeFilter</code> to be used with this <code>TreeWalker</code>, or * <code>null</code> to indicate no filter. * @param entityReferenceExpansion The value of this flag determines whether entity reference * nodes are expanded. * @return The newly created <code>NodeIterator</code>. */ public DTMIterator createDTMIterator( int whatToShow, DTMFilter filter, boolean entityReferenceExpansion) { return m_dtmManager.createDTMIterator(whatToShow, filter, entityReferenceExpansion); }
/** * Create a new <code>DTMIterator</code> based on an XPath <a * href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or a <a * href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>. * * @param xpathCompiler ??? Somehow we need to pass in a subpart of the expression. I hate to do * this with strings, since the larger expression has already been parsed. * @param pos The position in the expression. * @return The newly created <code>DTMIterator</code>. */ public DTMIterator createDTMIterator(Object xpathCompiler, int pos) { return m_dtmManager.createDTMIterator(xpathCompiler, pos); }