com.atlassian.confluence.content.render.xhtml.macro
Class MacroMarshallingFactoryImpl

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.macro.MacroMarshallingFactoryImpl
All Implemented Interfaces:
MacroMarshallingFactory, MarshallingFactory<MacroDefinition>

public class MacroMarshallingFactoryImpl
extends java.lang.Object
implements MacroMarshallingFactory

A MarshallingFactory that will return MacroDefinition Marshaller and Unmarshaller instances.


Constructor Summary
MacroMarshallingFactoryImpl(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller)
           
 
Method Summary
 Marshaller<MacroDefinition> getEditorMarshaller()
           
 Unmarshaller<MacroDefinition> getEditorUnmarshaller()
           
 Marshaller<MacroDefinition> getStorageMarshaller()
           
 Unmarshaller<MacroDefinition> getStorageUnmarshaller()
           
 Marshaller<MacroDefinition> getViewMarshaller()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroMarshallingFactoryImpl

public MacroMarshallingFactoryImpl(Marshaller<MacroDefinition> viewMarshaller,
                                   Marshaller<MacroDefinition> editorMarshaller,
                                   Marshaller<MacroDefinition> storageMarshaller,
                                   Unmarshaller<MacroDefinition> editorUnmarshaller,
                                   Unmarshaller<MacroDefinition> storageUnmarshaller)
Method Detail

getViewMarshaller

public Marshaller<MacroDefinition> getViewMarshaller()
Specified by:
getViewMarshaller in interface MarshallingFactory<MacroDefinition>
Returns:
a Marshaller that creates view format HTML 5.

getEditorMarshaller

public Marshaller<MacroDefinition> getEditorMarshaller()
Specified by:
getEditorMarshaller in interface MarshallingFactory<MacroDefinition>
Returns:
a Marshaller that creates editor format XHTML.

getStorageMarshaller

public Marshaller<MacroDefinition> getStorageMarshaller()
Specified by:
getStorageMarshaller in interface MarshallingFactory<MacroDefinition>
Returns:
a Marshaller that creates storage format XHTML.

getEditorUnmarshaller

public Unmarshaller<MacroDefinition> getEditorUnmarshaller()
Specified by:
getEditorUnmarshaller in interface MarshallingFactory<MacroDefinition>
Returns:
an Unmarshaller that reads editor format XHTML.

getStorageUnmarshaller

public Unmarshaller<MacroDefinition> getStorageUnmarshaller()
Specified by:
getStorageUnmarshaller in interface MarshallingFactory<MacroDefinition>
Returns:
an Unmarshaller that reads storage format XHTML.


Copyright © 2003-2014 Atlassian. All Rights Reserved.