CVS Update: xmlpull-api-v1/src/java/api/org/xmlpull/v1

Aleksander Andrzej Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       03/02/08 19:38:28

  Modified:    src/java/api/org/xmlpull/v1 XmlPullParser.java
  Log:
  added description of exceptions for setProperty
  fixed typos
  
  Revision  Changes    Path
  1.74      +11 -8     xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParser.java
  
  Index: XmlPullParser.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlPullParser.java,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -b -t -w -r1.73 -r1.74
  --- XmlPullParser.java	31 Jan 2003 04:41:45 -0000	1.73
  +++ XmlPullParser.java	9 Feb 2003 00:38:28 -0000	1.74
  @@ -415,7 +415,7 @@
        * If none were requested, all feautures are deactivated by default.
        *
        * @exception XmlPullParserException If the feature is not supported or can not be set
  -     * @exception IllegalArgumentException If the feature string is null
  +     * @exception IllegalArgumentException If string with the feature name is null
        */
       public void setFeature(String name,
                              boolean state) throws XmlPullParserException;
  @@ -427,7 +427,7 @@
        *
        * @param name The name of feature to be retrieved.
        * @return The value of the feature.
  -     * @exception IllegalArgumentException if feature string is null
  +     * @exception IllegalArgumentException if string the feature name is null
        */
   
       public boolean getFeature(String name);
  @@ -436,6 +436,9 @@
        * Set the value of a property.
        *
        * The property name is any fully-qualified URI.
  +     *
  +     * @exception XmlPullParserException If the property is not supported or can not be set
  +     * @exception IllegalArgumentException If string with the property name is null
        */
       public void setProperty(String name,
                               Object value) throws XmlPullParserException;
  @@ -443,9 +446,9 @@
       /**
        * Look up the value of a property.
        *
  -     * The property name is any fully-qualified URI. I
  -     * <p><strong>NOTE:</strong> unknown properties are <string>always</strong>
  -     * returned as null
  +     * The property name is any fully-qualified URI.
  +     * <p><strong>NOTE:</strong> unknown properties are <strong>always</strong>
  +     * returned as null.
        *
        * @param name The name of property to be retrieved.
        * @return The value of named property.
  @@ -978,14 +981,14 @@
        *  This requirement is added to allow to do roundtrip of XML documents!
        * <dt>DOCDECL<dd>
        * if FEATURE_XML_ROUNDTRIP is true or PROCESS_DOCDECL is false
  -     * return inside part of DOCDECL ex. returns:<pre>
  +     * then return what is inside of DOCDECL for example it returns:<pre>
        * &quot; titlepage SYSTEM "http://www.foo.bar/dtds/typo.dtd"
        * [&lt;!ENTITY % active.links "INCLUDE">]&quot;</pre>
        * <p>for input document that contained:<pre>
        * &lt;!DOCTYPE titlepage SYSTEM "http://www.foo.bar/dtds/typo.dtd"
        * [&lt;!ENTITY % active.links "INCLUDE">]></pre>
  -     * otherwise of FEATURE_XML_ROUNDTRIP is false and PROCESS_DOCDECL is true
  -     *    then what is returned is undefined (it may be evn null)
  +     * otherwise if FEATURE_XML_ROUNDTRIP is false and PROCESS_DOCDECL is true
  +     *    then what is returned is undefined (it may be even null)
        * </dd>
        * </dl>
        *
  
  
  


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.