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:
getViewMarshallerin interfaceMarshallingFactory<MacroDefinition>- Returns:
- a Marshaller that creates view format HTML 5.
-
getEditorMarshaller
public Marshaller<MacroDefinition> getEditorMarshaller()
- Specified by:
getEditorMarshallerin interfaceMarshallingFactory<MacroDefinition>- Returns:
- a Marshaller that creates editor format XHTML.
-
getStorageMarshaller
public Marshaller<MacroDefinition> getStorageMarshaller()
- Specified by:
getStorageMarshallerin interfaceMarshallingFactory<MacroDefinition>- Returns:
- a Marshaller that creates storage format XHTML.
-
getEditorUnmarshaller
public Unmarshaller<MacroDefinition> getEditorUnmarshaller()
- Specified by:
getEditorUnmarshallerin interfaceMarshallingFactory<MacroDefinition>- Returns:
- an Unmarshaller that reads editor format XHTML.
-
getStorageUnmarshaller
public Unmarshaller<MacroDefinition> getStorageUnmarshaller()
- Specified by:
getStorageUnmarshallerin interfaceMarshallingFactory<MacroDefinition>- Returns:
- an Unmarshaller that reads storage format XHTML.
-
-