org.norther.tammi.root.castor.xml
Class JDKSerializer

java.lang.Object
  extended by org.norther.tammi.root.castor.xml.JDKSerializer
All Implemented Interfaces:
org.exolab.castor.xml.Serializer

public class JDKSerializer
extends Object
implements org.exolab.castor.xml.Serializer

Sun JDK-1.5 specific implementation of the Serializer interface.

Author:
Werner Guttmann, Ilkka Priha

Constructor Summary
JDKSerializer()
          Constructs a new serializer.
 
Method Summary
 DocumentHandler asDocumentHandler()
           
 void setOutputByteStream(OutputStream output)
           
 void setOutputCharStream(Writer out)
           
 void setOutputFormat(org.exolab.castor.xml.OutputFormat format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKSerializer

public JDKSerializer()
Constructs a new serializer.

Method Detail

setOutputCharStream

public void setOutputCharStream(Writer out)
Specified by:
setOutputCharStream in interface org.exolab.castor.xml.Serializer

asDocumentHandler

public DocumentHandler asDocumentHandler()
                                  throws IOException
Specified by:
asDocumentHandler in interface org.exolab.castor.xml.Serializer
Throws:
IOException

setOutputFormat

public void setOutputFormat(org.exolab.castor.xml.OutputFormat format)
Specified by:
setOutputFormat in interface org.exolab.castor.xml.Serializer

setOutputByteStream

public void setOutputByteStream(OutputStream output)
Specified by:
setOutputByteStream in interface org.exolab.castor.xml.Serializer


Copyright © 2004 The Norther Organization. All rights reserved.