|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
OutputFormat |
getOutputFormat()
Factory method for obtaining a OutputFormat instance. |
Serializer |
getSerializer()
Factory method for obtaining a Serializer instance. |
| Method Detail |
|---|
Serializer getSerializer()
OutputFormat getOutputFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||