public interface MappingContext
Modifier and Type | Method and Description |
---|---|
boolean |
canMarshal(String cls)
Indicates whether or not the specified class can be marshalled, whether or not a definition exists.
|
Marshaller<Object> |
getMarshaller(String clazz)
Returns the Marshaller instance that can handle the given type.
|
boolean |
hasMarshaller(String clazzName) |
Marshaller<Object> getMarshaller(String clazz)
clazz
- fully qualified class name of the type to be marshalled, in the
format returned by Class.getName()
and
MetaClass.getFullyQualifiedName()
.
Null is permitted, and yields a marshaller that can only marshal
and demarshal null references.boolean hasMarshaller(String clazzName)
boolean canMarshal(String cls)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.