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       02/08/22 12:37:01

  Modified:    src/java/api/org/xmlpull/v1 XmlSerializer.java
  Log:
  previous change did not get thriugh ...
  
  advise on use of flush() and closing start tag
  
  typos
  
  Revision  Changes    Path
  1.8       +6 -1      xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlSerializer.java
  
  Index: XmlSerializer.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/api/org/xmlpull/v1/XmlSerializer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -t -w -r1.7 -r1.8
  --- XmlSerializer.java	2002/08/22 17:32:06	1.7
  +++ XmlSerializer.java	2002/08/22 17:37:01	1.8
  @@ -66,7 +66,7 @@
        * (the property name is recommened to be URI for uniqueness).
        * Some well known optional properties are defined in
        * <a href="http://www.xmlpull.org/v1/doc/properties.html">
  -     * http://www.xmlpull.org/v1/doc/features.html</a>.
  +     * http://www.xmlpull.org/v1/doc/properties.html</a>.
        *
        * If property is not recocgnized or can not be set
        * then IllegalStateException MUST be thrown.
  @@ -218,6 +218,11 @@
        * Write all pending output to the stream.
        * If method startTag() or attribute() was called then start tag is closed (final &gt;)
        * before flush() is called on underlying output stream.
  +     *
  +     * <p><b>NOTE:</b> if there is need to close start tag
  +     * (so no more attribute() calls are allowed) but without flushinging output
  +     * call method text() with empty string (text("")).
  +     *
        */
       public void flush ()
           throws IOException;
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.