Package 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. ThisXMLSerializerFactory
will use the Xerces instance as shipped with the JRE. To use anotherXMLSerializerFactory
, please override this property in a custom castor.properties. When using Castor XML with JDK 5.0 and above, you may switch to theXercesXMLSerializerFactory
, 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-