org.exolab.castor.xml
Interface XMLSerializerFactory

All Known Implementing Classes:
AIXXercesJDK5XMLSerializerFactory, WeblogicXercesXMLSerializerFactory, XercesJDK5XMLSerializerFactory, XercesXMLSerializerFactory

public interface XMLSerializerFactory

Configurable factory object for XML serialization. The XML serializer factory is set through the org.exolab.castor.xml.serializer.factory in the castor.properties file shipped with the product JAR. By default, this is set to a value of org.exolab.castor.xml.XercesJDK5XMLSerializerFactory. This XMLSerializerFactory will use the Xerces instance as shipped with the JRE. To use another XMLSerializerFactory, please override this property in a custom castor.properties. When using Castor XML with JDK 5.0 and above, you may switch to the XercesXMLSerializerFactory, which will use a separately downloaded Xerces instance, and not the one shipped with the JRE itself.

Since:
1.0
Version:
$Revision: 8674 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttmann

Method Summary
 OutputFormat getOutputFormat()
          Factory method for obtaining a OutputFormat instance.
 Serializer getSerializer()
          Factory method for obtaining a Serializer instance.
 

Method Detail

getSerializer

Serializer getSerializer()
Factory method for obtaining a Serializer instance.

Returns:
A Serializer instance.

getOutputFormat

OutputFormat getOutputFormat()
Factory method for obtaining a OutputFormat instance.

Returns:
A OutputFormat instance.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com