com.atlassian.confluence.content.render.xhtml.view.link
Class ViewUnresolvedLinkMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.link.ViewUnresolvedLinkMarshaller
- All Implemented Interfaces:
- Marshaller<UnresolvedLink>
- Direct Known Subclasses:
- EditorUnresolvedLinkMarshaller
public class ViewUnresolvedLinkMarshaller
- extends java.lang.Object
- implements Marshaller<UnresolvedLink>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewUnresolvedLinkMarshaller
public ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ModelToRenderedClassMapper mapper)
marshal
public Streamable marshal(UnresolvedLink unresolvedLink,
ConversionContext conversionContext)
throws XhtmlException
- Description copied from interface:
Marshaller
- Marshals an object to XML.
- Specified by:
marshal
in interface Marshaller<UnresolvedLink>
- Parameters:
unresolvedLink
- object to marshalconversionContext
- the conversion context
- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
writeAdditionalAttributes
protected void writeAdditionalAttributes(UnresolvedLink unresolvedLink,
javax.xml.stream.XMLStreamWriter xmlStreamWriter,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ConversionContext conversionContext)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
Copyright © 2003-2013 Atlassian. All Rights Reserved.