xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric...@apache.org
Subject cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cursor.java
Date Fri, 09 Apr 2004 18:26:40 GMT
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


Mime
View raw message