Class DefaultMarshallingRegistry
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.DefaultMarshallingRegistry
-
- All Implemented Interfaces:
MarshallingRegistry
public class DefaultMarshallingRegistry extends Object implements MarshallingRegistry
-
-
Constructor Summary
Constructors Constructor Description DefaultMarshallingRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Marshaller<T>
getMarshaller(Class<T> clazz, MarshallingType type)
<T> Unmarshaller<T>
getUnmarshaller(Class<T> clazz, MarshallingType type)
void
register(Marshaller marshaller, Class clazz, MarshallingType type)
void
register(Unmarshaller unmarshaller, Class clazz, MarshallingType type)
-
-
-
Method Detail
-
getMarshaller
public <T> Marshaller<T> getMarshaller(Class<T> clazz, MarshallingType type)
- Specified by:
getMarshaller
in interfaceMarshallingRegistry
-
getUnmarshaller
public <T> Unmarshaller<T> getUnmarshaller(Class<T> clazz, MarshallingType type)
- Specified by:
getUnmarshaller
in interfaceMarshallingRegistry
-
register
public void register(Marshaller marshaller, Class clazz, MarshallingType type)
- Specified by:
register
in interfaceMarshallingRegistry
-
register
public void register(Unmarshaller unmarshaller, Class clazz, MarshallingType type)
- Specified by:
register
in interfaceMarshallingRegistry
-
-