public interface MxRead
Modifier and Type | Method and Description |
---|---|
AbstractMX |
read(Class<? extends AbstractMX> targetClass,
String xml,
Class<? extends Object>[] classes)
Read
xml into a message object |
AbstractMX |
read(String xml,
MxId id)
Read
xml into a message object |
AbstractMX read(Class<? extends AbstractMX> targetClass, String xml, Class<? extends Object>[] classes)
xml
into a message objecttargetClass
- class of the message to be readxml
- the string with the messageclasses
- classes for the contextAbstractMX read(String xml, MxId id)
xml
into a message objectxml
- the string with the messageid
- optional parameter to indicate the specific MX type to create; autodetected from namespace if null.