com.atlassian.confluence.content.render.xhtml.links
Class LinkMarshallingFactoryImpl

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.links.LinkMarshallingFactoryImpl
All Implemented Interfaces:
LinkMarshallingFactory, MarshallingFactory<Link>

public class LinkMarshallingFactoryImpl
extends java.lang.Object
implements LinkMarshallingFactory

A MarshallingFactory that returns Link marshallers and unmarshallers.


Constructor Summary
LinkMarshallingFactoryImpl(Marshaller<Link> viewMarshaller, Marshaller<Link> editorMarshaller, Marshaller<Link> storageMarshaller, Unmarshaller<Link> editorUnmarshaller, Unmarshaller<Link> storageUnmarshaller)
           
 
Method Summary
 Marshaller<Link> getEditorMarshaller()
           
 Unmarshaller<Link> getEditorUnmarshaller()
           
 Marshaller<Link> getStorageMarshaller()
           
 Unmarshaller<Link> getStorageUnmarshaller()
           
 Marshaller<Link> getViewMarshaller()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface MarshallingFactory<Link>
Returns:
a Marshaller that creates view format HTML 5.

getEditorMarshaller

public Marshaller<Link> getEditorMarshaller()
Specified by:
getEditorMarshaller in interface MarshallingFactory<Link>
Returns:
a Marshaller that creates editor format XHTML.

getStorageMarshaller

public Marshaller<Link> getStorageMarshaller()
Specified by:
getStorageMarshaller in interface MarshallingFactory<Link>
Returns:
a Marshaller that creates storage format XHTML.

getEditorUnmarshaller

public Unmarshaller<Link> getEditorUnmarshaller()
Specified by:
getEditorUnmarshaller in interface MarshallingFactory<Link>
Returns:
an Unmarshaller that reads editor format XHTML.

getStorageUnmarshaller

public Unmarshaller<Link> getStorageUnmarshaller()
Specified by:
getStorageUnmarshaller in interface MarshallingFactory<Link>
Returns:
an Unmarshaller that reads storage format XHTML.


Copyright © 2003-2014 Atlassian. All Rights Reserved.