public interface MxWrite
@Deprecated String message(String namespace, AbstractMX obj, Class[] classes)
message(String, AbstractMX, Class[], String, boolean)
insteadnamespace
- the namespace for the target messageobj
- the object containing the message to be serializedclasses
- array of all classes used or referenced by message classString message(String namespace, AbstractMX obj, Class[] classes, String prefix, boolean includeXMLDeclaration)
namespace
- the namespace for the target messageobj
- the object containing the message to be serializedclasses
- array of all classes used or referenced by message classprefix
- optional prefix for ns ("Doc" by default)includeXMLDeclaration
- true to include the xml declaration (true by default)