com.atlassian.confluence.content.render.xhtml
Interface MarshallingRegistry

All Known Implementing Classes:
DefaultMarshallingRegistry

public interface MarshallingRegistry

Gets Marshallers and Unmarshallers, so you don't have to wire them yaself.

Since:
5.3

Method Summary
<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

register

void register(Marshaller marshaller,
              Class clazz,
              MarshallingType type)

register

void register(Unmarshaller unmarshaller,
              Class clazz,
              MarshallingType type)

getMarshaller

<T> Marshaller<T> getMarshaller(Class<T> clazz,
                                MarshallingType type)

getUnmarshaller

<T> Unmarshaller<T> getUnmarshaller(Class<T> clazz,
                                    MarshallingType type)


Copyright © 2003–2015 Atlassian. All rights reserved.