public class ViewUnresolvedLinkMarshaller extends Object implements Marshaller<UnresolvedLink>
| Constructor and Description |
|---|
ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate,
StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ModelToRenderedClassMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
marshal(UnresolvedLink unresolvedLink,
ConversionContext conversionContext)
Marshals an object to XML.
|
protected void |
writeAdditionalAttributes(UnresolvedLink unresolvedLink,
XMLStreamWriter xmlStreamWriter,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ConversionContext conversionContext) |
public ViewUnresolvedLinkMarshaller(XmlStreamWriterTemplate xmlStreamWriterTemplate, StaxStreamMarshaller<ResourceIdentifier> resourceIdentifierStaxStreamMarshaller, Marshaller<Link> unresolvedLinkBodyMarshaller, ModelToRenderedClassMapper mapper)
public Streamable marshal(UnresolvedLink unresolvedLink, ConversionContext conversionContext) throws XhtmlException
Marshallermarshal in interface Marshaller<UnresolvedLink>unresolvedLink - object to marshalconversionContext - the conversion contextXhtmlException - if an error occurs during marshallingprotected void writeAdditionalAttributes(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext) throws XMLStreamException
XMLStreamExceptionCopyright © 2003–2017 Atlassian. All rights reserved.