|
JBoss Marshalling 1.3.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.marshalling.MappingClassExternalizerFactory
public class MappingClassExternalizerFactory
An externalizer factory which uses a fixed mapping from class to externalizer.
Constructor Summary | |
---|---|
MappingClassExternalizerFactory(java.util.Map<java.lang.Class<?>,Externalizer> map)
Construct a new instance. |
Method Summary | |
---|---|
Externalizer |
getExternalizer(java.lang.Class<?> type)
Look up a custom externalizer for a given object class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingClassExternalizerFactory(java.util.Map<java.lang.Class<?>,Externalizer> map)
map
- the mappingMethod Detail |
---|
public Externalizer getExternalizer(java.lang.Class<?> type)
null
. This implementation uses the fixed mapping that was specified in the constructor.
getExternalizer
in interface ClassExternalizerFactory
type
- the type to be externalized
null
if there is none
|
JBoss Marshalling 1.3.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |