xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minc...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/serializer ToHTMLStream.java
Date Wed, 16 Mar 2005 20:41:27 GMT
minchau     2005/03/16 12:41:27

  Modified:    java/src/org/apache/xml/serializer ToHTMLStream.java
  Log:
  Minor changes to comments and javadoc comments.
  
  Revision  Changes    Path
  1.36      +14 -7     xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java
  
  Index: ToHTMLStream.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/ToHTMLStream.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- ToHTMLStream.java	16 Dec 2004 19:24:08 -0000	1.35
  +++ ToHTMLStream.java	16 Mar 2005 20:41:27 -0000	1.36
  @@ -494,8 +494,15 @@
        * it will switch to the new format. This method should not be
        * called while the serializer is in the process of serializing
        * a document.
  +     * 
  +     * This method can be called multiple times before starting
  +     * the serialization of a particular result-tree. In principle
  +     * all serialization parameters can be changed, with the exception
  +     * of method="html" (it must be method="html" otherwise we
  +     * shouldn't even have a ToHTMLStream object here!) 
        *
  -     * @param format The output format to use
  +     * @param format The output format or serialzation parameters
  +     * to use.
        */
       public void setOutputFormat(Properties format)
       {
  @@ -1338,10 +1345,10 @@
                       }
                       else
                       */
  -                    String entityName = m_charInfo.getOutputStringForChar(ch);
  -                    if (null != entityName)
  +                    String outputStringForChar = m_charInfo.getOutputStringForChar(ch);
  +                    if (null != outputStringForChar)
                       {
  -                        writer.write(entityName);
  +                        writer.write(outputStringForChar);
                       }
                       else if (escapingNotNeeded(ch))
                       {
  @@ -1620,7 +1627,7 @@
           }
       }
       /**
  -     * @see org.apache.xml.serializer.ExtendedContentHandler#endElement(String)
  +     * @see ExtendedContentHandler#endElement(String)
        */
       public final void endElement(String elemName) throws SAXException
       {
  @@ -1754,7 +1761,7 @@
            * @param uri the URI of the namespace
            * @param prefix the prefix associated with the given URI.
            *
  -         * @see org.apache.xml.serializer.ExtendedContentHandler#namespaceAfterStartElement(String,
String)
  +         * @see ExtendedContentHandler#namespaceAfterStartElement(String, String)
            */
           public void namespaceAfterStartElement(String prefix, String uri)
               throws SAXException
  
  
  

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


Mime
View raw message