org.jboss.errai.marshalling.client.api
Interface MarshallerFactory
public interface MarshallerFactory
- Author:
- Mike Brock , Christian Sadilek
getMarshaller
Marshaller<Object> getMarshaller(String encodedType)
- Returns a
Marshaller
capable of handling the specified encodedType
- Parameters:
encodedType
- The fully-qualified Java class name of the encoded type
- Returns:
- a marshaller instance.
registerMarshaller
void registerMarshaller(String fqcn,
Marshaller<Object> marshaller)
- Registers a
Marshaller
for the type with the provided fully qualified class name.
- Parameters:
fqcn
- the fully qualified type name of the marshallable type.marshaller
- the marshaller instance
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.