Google

Xerces 3.1.1 API: Class XHTMLSerializer
Xerces 3.1.1


Class XHTMLSerializer

java.lang.Object
  |
        |
              |

Implements an XHTML serializer supporting both DOM and SAX

Version:
$Revision: 1.6 $ $Date: 2000/08/30 18:59:22 $

 
          Constructs a new serializer.
          Constructs a new serializer.
          Constructs a new serializer that writes to the specified output stream using the specified output format.
          Constructs a new serializer that writes to the specified writer using the specified output format.
Constructor Summary
 
          Specifies an output format for this serializer.
Method Summary
 void
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLSerializer

public XHTMLSerializer()
Constructs a new serializer. The serializer cannot be used without first.

XHTMLSerializer
Constructs a new serializer. The serializer cannot be used without first.

XHTMLSerializer
public XHTMLSerializer(java.io.Writer writer,
Constructs a new serializer that writes to the specified writer using the specified output format. If format is null, will use a default output format.
Parameters:
writer - The writer to use
format - The output format to use, null for the default

XHTMLSerializer
public XHTMLSerializer(java.io.OutputStream output,
Constructs a new serializer that writes to the specified output stream using the specified output format. If format is null, will use a default output format.
Parameters:
output - The output stream to use
format - The output format to use, null for the default
Method Detail
setOutputFormat
Specifies an output format for this serializer. It the serializer has already been associated with an output format, it will switch to the new format. This method should not be called while the serializer is in the process of serializing a document.
Parameters:
format - The output format to use

Xerces 3.1.1