xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david...@apache.org
Subject cvs commit: xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans FilterXmlObject.java
Date Fri, 24 Oct 2003 19:57:33 GMT
davidbau    2003/10/24 12:57:33

  Modified:    v2/src/xmlpublic/org/apache/xmlbeans FilterXmlObject.java
  Log:
  Updated the abstract base class FilterXmlObject to include the JSR 173
  method added to XmlObject.
  
  code review: pcal
  
  Revision  Changes    Path
  1.2       +11 -0     xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans/FilterXmlObject.java
  
  Index: FilterXmlObject.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/xmlpublic/org/apache/xmlbeans/FilterXmlObject.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FilterXmlObject.java	26 Sep 2003 21:23:34 -0000	1.1
  +++ FilterXmlObject.java	24 Oct 2003 19:57:33 -0000	1.2
  @@ -76,6 +76,7 @@
   import org.xml.sax.ext.LexicalHandler;
   
   import javax.xml.namespace.QName;
  +import javax.xml.stream.XMLStreamReader;
   
   /**
    * A FilterXmlObject delegates to some other XmlObject, which it can use as
  @@ -207,6 +208,11 @@
           return underlyingXmlObject().newXMLInputStream();
       }
   
  +    public XMLStreamReader newXMLStreamReader()
  +    {
  +        return underlyingXmlObject().newXMLStreamReader();
  +    }
  +    
       public String xmlText()
       {
           return underlyingXmlObject().xmlText();
  @@ -252,6 +258,11 @@
           return underlyingXmlObject().newXMLInputStream(options);
       }
   
  +    public XMLStreamReader newXMLStreamReader(XmlOptions options)
  +    {
  +        return underlyingXmlObject().newXMLStreamReader(options);
  +    }
  +    
       public String xmlText(XmlOptions options)
       {
           return underlyingXmlObject().xmlText(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