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