Class LinkMarshallingFactoryImpl
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.links.LinkMarshallingFactoryImpl
-
- All Implemented Interfaces:
LinkMarshallingFactory
,MarshallingFactory<Link>
public class LinkMarshallingFactoryImpl extends Object implements LinkMarshallingFactory
A MarshallingFactory that returns Link marshallers and unmarshallers.
-
-
Constructor Summary
Constructors Constructor Description LinkMarshallingFactoryImpl(Marshaller<Link> viewMarshaller, Marshaller<Link> editorMarshaller, Marshaller<Link> storageMarshaller, Unmarshaller<Link> editorUnmarshaller, Unmarshaller<Link> storageUnmarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller<Link>
getEditorMarshaller()
Unmarshaller<Link>
getEditorUnmarshaller()
Marshaller<Link>
getStorageMarshaller()
Unmarshaller<Link>
getStorageUnmarshaller()
Marshaller<Link>
getViewMarshaller()
-
-
-
Constructor Detail
-
LinkMarshallingFactoryImpl
public LinkMarshallingFactoryImpl(Marshaller<Link> viewMarshaller, Marshaller<Link> editorMarshaller, Marshaller<Link> storageMarshaller, Unmarshaller<Link> editorUnmarshaller, Unmarshaller<Link> storageUnmarshaller)
-
-
Method Detail
-
getViewMarshaller
public Marshaller<Link> getViewMarshaller()
- Specified by:
getViewMarshaller
in interfaceMarshallingFactory<Link>
- Returns:
- a Marshaller that creates view format HTML 5.
-
getEditorMarshaller
public Marshaller<Link> getEditorMarshaller()
- Specified by:
getEditorMarshaller
in interfaceMarshallingFactory<Link>
- Returns:
- a Marshaller that creates editor format XHTML.
-
getStorageMarshaller
public Marshaller<Link> getStorageMarshaller()
- Specified by:
getStorageMarshaller
in interfaceMarshallingFactory<Link>
- Returns:
- a Marshaller that creates storage format XHTML.
-
getEditorUnmarshaller
public Unmarshaller<Link> getEditorUnmarshaller()
- Specified by:
getEditorUnmarshaller
in interfaceMarshallingFactory<Link>
- Returns:
- an Unmarshaller that reads editor format XHTML.
-
getStorageUnmarshaller
public Unmarshaller<Link> getStorageUnmarshaller()
- Specified by:
getStorageUnmarshaller
in interfaceMarshallingFactory<Link>
- Returns:
- an Unmarshaller that reads storage format XHTML.
-
-