public interface ILcdXMLDatatypeUnmarshaller<T>
ILcdXMLDatatypeMarshaller
Modifier and Type | Method and Description |
---|---|
T |
unmarshal(String aLexicalValue,
XMLStreamReader aReader,
ILcdXMLDocumentContext aContext)
Converts the lexical representation of an XML value to a corresponding Java class instance representing this value.
|
T unmarshal(String aLexicalValue, XMLStreamReader aReader, ILcdXMLDocumentContext aContext) throws XMLStreamException
aLexicalValue
- the XML lexical representation of the XML value to be converted.aReader
- the StAX reader where the lexical value was unmarshalled fromaContext
- an ILcdXMLDocumentContext
which can be used to store and retrieve information which is shared
between multiple unmarshallers. This context is unique per unmarshalled XML document.IllegalArgumentException
- if the specified object is not part of the lexical space of the XML Schema datatype for
which this parser was written.XMLStreamException
- if an exception occurs during retrieving the value
from the XMLStreamReader
.