ClassExternalizerFactory
public class MappingClassExternalizerFactory extends Object implements ClassExternalizerFactory
Constructor | Description |
---|---|
MappingClassExternalizerFactory(Map<Class<?>,Externalizer> map) |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
Externalizer |
getExternalizer(Class<?> type) |
Look up a custom externalizer for a given object class.
|
public MappingClassExternalizerFactory(Map<Class<?>,Externalizer> map)
map
- the mappingpublic Externalizer getExternalizer(Class<?> type)
null
. This implementation uses the fixed mapping that was specified in the constructor.getExternalizer
in interface ClassExternalizerFactory
type
- the type to be externalizednull
if there is noneCopyright © 2018 JBoss by Red Hat. All rights reserved.