Class MacroMarshallingFactoryImpl
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.macro.MacroMarshallingFactoryImpl
-
- All Implemented Interfaces:
MacroMarshallingFactory
,MarshallingFactory<MacroDefinition>
public class MacroMarshallingFactoryImpl extends Object implements MacroMarshallingFactory
A MarshallingFactory that will return MacroDefinition Marshaller and Unmarshaller instances.
-
-
Constructor Summary
Constructors Constructor Description MacroMarshallingFactoryImpl(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller<MacroDefinition>
getEditorMarshaller()
Unmarshaller<MacroDefinition>
getEditorUnmarshaller()
Marshaller<MacroDefinition>
getStorageMarshaller()
Unmarshaller<MacroDefinition>
getStorageUnmarshaller()
Marshaller<MacroDefinition>
getViewMarshaller()
-
-
-
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 interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates view format HTML 5.
-
getEditorMarshaller
public Marshaller<MacroDefinition> getEditorMarshaller()
- Specified by:
getEditorMarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates editor format XHTML.
-
getStorageMarshaller
public Marshaller<MacroDefinition> getStorageMarshaller()
- Specified by:
getStorageMarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates storage format XHTML.
-
getEditorUnmarshaller
public Unmarshaller<MacroDefinition> getEditorUnmarshaller()
- Specified by:
getEditorUnmarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- an Unmarshaller that reads editor format XHTML.
-
getStorageUnmarshaller
public Unmarshaller<MacroDefinition> getStorageUnmarshaller()
- Specified by:
getStorageUnmarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- an Unmarshaller that reads storage format XHTML.
-
-