public interface MarshallerFactory
Modifier and Type | Method and Description |
---|---|
Marshaller<Object> |
getMarshaller(String encodedType)
Returns a
Marshaller capable of handling the specified encodedType |
void |
registerMarshaller(String fqcn,
Marshaller<Object> marshaller)
Registers a
Marshaller for the type with the provided fully qualified class name. |
Marshaller<Object> getMarshaller(String encodedType)
Marshaller
capable of handling the specified encodedTypeencodedType
- The fully-qualified Java class name of the encoded typevoid registerMarshaller(String fqcn, Marshaller<Object> marshaller)
Marshaller
for the type with the provided fully qualified class name.fqcn
- the fully qualified type name of the marshallable type.marshaller
- the marshaller instanceCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.