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