public class Marshallers extends Object implements MarshallerFactory
MarshallerFactory.Parameters| Constructor and Description |
|---|
Marshallers() |
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
createMarshaller(Class<?> _type)
Create a marshaller that is suitable for the type.
|
Marshaller |
createMarshaller(MarshallerFactory.Parameters c)
Used to create a marshaller in a configuration that
was used for marshalling.
|
static MarshallerFactory |
getInstance() |
int |
getPriority()
The higher the more specialized.
|
Class<?> |
getType()
The type the marshaller is specialized for
|
void |
registerMarshallerFactory(MarshallerFactory f)
Directly register a marshallerfactory.
|
public Marshallers()
public static MarshallerFactory getInstance()
public void registerMarshallerFactory(MarshallerFactory f)
public Class<?> getType()
MarshallerFactorygetType in interface MarshallerFactorypublic int getPriority()
MarshallerFactorygetPriority in interface MarshallerFactorypublic Marshaller createMarshaller(Class<?> _type)
MarshallerFactorycreateMarshaller in interface MarshallerFactorypublic Marshaller createMarshaller(MarshallerFactory.Parameters c)
MarshallerFactorycreateMarshaller in interface MarshallerFactorycache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.