decodeText abstract method
Decodes text from source
as content objects.
The source
text is expected to be a valid string representation of
content for a text format decoder and and a base64 string representation
of content for a binary format decoder.
The target of objects decoded from text is not defined by this interface. A decoder could produce content objects sent to a content interface or build structured data objects with compatible model. Also some decoders might allow multiple calls to this method to build a larger target object structure.
Throws FormatException
if decoding fails.
Implementation
void decodeText(String source);