Package org.jboss.marshalling
Class AnnotationClassExternalizerFactory
java.lang.Object
org.jboss.marshalling.AnnotationClassExternalizerFactory
- All Implemented Interfaces:
ClassExternalizerFactory
An externalizer factory which looks for the presence of the
Externalize
annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExternalizer
(Class<?> type) Look up a custom externalizer for a given object class.
-
Constructor Details
-
AnnotationClassExternalizerFactory
public AnnotationClassExternalizerFactory()Construct a new instance.
-
-
Method Details
-
getExternalizer
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
-