Package org.jboss.marshalling
Class AnnotationClassExternalizerFactory
- java.lang.Object
-
- org.jboss.marshalling.AnnotationClassExternalizerFactory
-
- All Implemented Interfaces:
ClassExternalizerFactory
public class AnnotationClassExternalizerFactory extends Object implements ClassExternalizerFactory
An externalizer factory which looks for the presence of theExternalize
annotation.
-
-
Constructor Summary
Constructors Constructor Description AnnotationClassExternalizerFactory()
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Externalizer
getExternalizer(Class<?> type)
Look up a custom externalizer for a given object class.
-
-
-
Method Detail
-
getExternalizer
public Externalizer getExternalizer(Class<?> type)
Look up a custom externalizer for a given object class. If no such externalizer exists, returnsnull
.- Specified by:
getExternalizer
in interfaceClassExternalizerFactory
- Parameters:
type
- the type to be externalized- Returns:
- the externalizer, or
null
if there is none
-
-