Class MacroMarshallingFactoryImpl
java.lang.Object
com.atlassian.confluence.content.render.xhtml.macro.MacroMarshallingFactoryImpl
- All Implemented Interfaces:
MacroMarshallingFactory
,MarshallingFactory<MacroDefinition>
A MarshallingFactory that will return MacroDefinition Marshaller and Unmarshaller instances.
-
Constructor Summary
ConstructorsConstructorDescriptionMacroMarshallingFactoryImpl
(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
MacroMarshallingFactoryImpl
public MacroMarshallingFactoryImpl(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller)
-
-
Method Details
-
getViewMarshaller
- Specified by:
getViewMarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates view format HTML 5.
-
getEditorMarshaller
- Specified by:
getEditorMarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates editor format XHTML.
-
getStorageMarshaller
- Specified by:
getStorageMarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- a Marshaller that creates storage format XHTML.
-
getEditorUnmarshaller
- Specified by:
getEditorUnmarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- an Unmarshaller that reads editor format XHTML.
-
getStorageUnmarshaller
- Specified by:
getStorageUnmarshaller
in interfaceMarshallingFactory<MacroDefinition>
- Returns:
- an Unmarshaller that reads storage format XHTML.
-