public interface ILcdXMLDatatypeMarshaller<T>
|Modifier and Type||Method and Description|
Converts a Java class instance to a lexical representation of the corresponding XML value.
java.lang.String marshal(T aValue, javax.xml.stream.XMLStreamWriter aWriter, ILcdXMLDocumentContext aContext) throws javax.xml.stream.XMLStreamException
aValue- the Java object, representing the XML value which should be converted to an XML lexical representation.
aWriter- the XML stream writer to which the return value be marshalled.
ILcdXMLDocumentContextwhich can be used to store and retrieve information which is shared between multiple marshallers. This context is unique per marshalled XML document.
java.lang.IllegalArgumentException- if the specified object does not represent a value in the value space of the XML Schema datatype for which this formatter was written.
javax.xml.stream.XMLStreamException- if an exception occurs while writing the converted value on the