|
Class Summary |
| CastorCDataFieldHandler |
Castor data field handler which wraps a fields value with CDATA tags. |
| CastorFromXMLService |
This entry point uses the castor framework to unmarshal an XMLString into
the object it represents. |
| CastorMappingLoader |
The methods defined in this class are shared by the Castor ToxML and FromXML services. |
| CastorToXMLService |
This entry point converts an objects into an XMLString representing it using
the castor framework. |
| CastorXMLStringFieldHandler |
Castor data field handler which wraps a fields of type XMLString.
Typically, if an object contains a property of type XMLString, you will want the
contents of that string to be embdedded into the XML generaged by ToXMLCommand
as though it were an inherent node in the XML, and for FromXMLCommand to
read the embedded nodes into the XMLString insrance.
This isn't the most natural behaviour for Castor, but it is achievable using this FieldHandler, and castor's AnyNode type.
Assuming that you have an object (com.core.MyObject) which declates an XMLString property myBitOfXml with the appropriate getters
and setters, and the following castor mapping: |
| FromXMLArgImp |
This is the implementation of FromXMLArg used to pass arguments to and from the FromXML entry point(s). |
| FromXMLCommand |
This command is responsible for converting strings of XML into instances
of the objects they represent. |
| ToXMLArgImp |
This is a concrete implementation of the CommandArg for the ToXML entry point. |
| ToXMLCommand |
This command is responsible for converting objects into strings of XML that
represent them. |