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 the Externalize
annotation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationClassExternalizerFactory
public AnnotationClassExternalizerFactory()
- Construct a new instance.
getExternalizer
public Externalizer getExternalizer(Class<?> type)
- Look up a custom externalizer for a given object class. If no such externalizer exists, returns
null
.
- Specified by:
getExternalizer
in interface ClassExternalizerFactory
- Parameters:
type
- the type to be externalized
- Returns:
- the externalizer, or
null
if there is none
Copyright © 2010 JBoss, a division of Red Hat, Inc.