|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.storage.link.StorageLinkBodyMarshaller
public class StorageLinkBodyMarshaller
Marshall a LinkBody to storage format.
RichTextLinkBody instances are assumed to already be XHTML formatted and are written unchanged. PlainTextLinkBody instances are HTMLencoded before being written. EmbeddedImageLinkBody instances will be delegated to the configured embeddedImageMarshaller for writing.
Constructor Summary | |
---|---|
StorageLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller,
XmlStreamWriterTemplate xmlStreamWriterTemplate)
|
Method Summary | |
---|---|
Streamable |
marshal(LinkBody<?> linkBody,
ConversionContext conversionContext)
Marshals an object to XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageLinkBodyMarshaller(Marshaller<EmbeddedImage> embeddedImageMarshaller, XmlStreamWriterTemplate xmlStreamWriterTemplate)
Method Detail |
---|
public Streamable marshal(LinkBody<?> linkBody, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<LinkBody<?>>
linkBody
- conversionContext
- the conversion context
XhtmlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |