You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by er...@apache.org on 2004/04/09 20:26:40 UTC

cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cursor.java

ericvas     2004/04/09 11:26:40

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2
                        Cursor.java
  Log:
  Impl newReader in XmlCursor
  
  Revision  Changes    Path
  1.15      +6 -6      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java
  
  Index: Cursor.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Cursor.java	30 Mar 2004 21:29:26 -0000	1.14
  +++ Cursor.java	9 Apr 2004 18:26:40 -0000	1.15
  @@ -429,7 +429,12 @@
       
       public Reader _newReader ( )
       {
  -        throw new RuntimeException( "Not implemented" );
  +        return _newReader( null );
  +    }
  +    
  +    public Reader _newReader( XmlOptions options )
  +    {
  +        return new Saver.TextReader( _cur, options );
       }
       
       public Node _newDomNode ( )
  @@ -523,11 +528,6 @@
           {
               r.close();
           }
  -    }
  -    
  -    public Reader _newReader( XmlOptions options )
  -    {
  -        throw new RuntimeException( "Not implemented" );
       }
       
       public Node _newDomNode ( XmlOptions options )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org