com.atlassian.confluence.content.render.xhtml.macro
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroMarshallingFactoryImpl
public MacroMarshallingFactoryImpl(Marshaller<MacroDefinition> viewMarshaller,
Marshaller<MacroDefinition> editorMarshaller,
Marshaller<MacroDefinition> storageMarshaller,
Unmarshaller<MacroDefinition> editorUnmarshaller,
Unmarshaller<MacroDefinition> storageUnmarshaller)
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-2013 Atlassian. All Rights Reserved.