Class AttachmentStaxStreamMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.editor.link.AttachmentStaxStreamMarshaller
- All Implemented Interfaces:
StaxStreamMarshaller<Attachment>
public class AttachmentStaxStreamMarshaller
extends Object
implements StaxStreamMarshaller<Attachment>
Marshals the state of an attachment to a stax stream.
This state should be such that the same attachment can be later resolved from it.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
marshal
(Attachment attachment, XMLStreamWriter xmlStreamWriter, ConversionContext context)
-
Method Details
-
marshal
public void marshal(Attachment attachment, XMLStreamWriter xmlStreamWriter, ConversionContext context) throws XMLStreamException - Specified by:
marshal
in interfaceStaxStreamMarshaller<Attachment>
- Throws:
XMLStreamException
-