sboag 01/06/19 14:46:31
Modified: java/src/org/apache/xpath/objects XNodeSet.java
Log:
Add iterRaw accessor.
Revision Changes Path
1.15 +10 -1 xml-xalan/java/src/org/apache/xpath/objects/XNodeSet.java
Index: XNodeSet.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xpath/objects/XNodeSet.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XNodeSet.java 2001/06/15 21:18:37 1.14
+++ XNodeSet.java 2001/06/19 21:46:30 1.15
@@ -360,6 +360,16 @@
// {
// return new org.apache.xml.dtm.ref.DTMNodeList(iter());
// }
+
+ /**
+ * Return the iterator without cloning, etc.
+ */
+ public DTMIterator iterRaw()
+ {
+
+ // System.out.println("In XNodeSet.iter()");
+ return (DTMIterator) m_obj;
+ }
/**
* Cast result object to a nodelist.
@@ -584,7 +594,6 @@
while (DTM.NULL != (node = list1.nextNode()))
{
XMLString s1 = getStringFromNode(node);
-
if (comparator.compareStrings(s1, s2))
{
result = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]