com.atlassian.confluence.json.jsonator
Class AttachmentJsonator
java.lang.Object
com.atlassian.confluence.json.jsonator.AttachmentJsonator
- All Implemented Interfaces:
- Jsonator<Attachment>
public class AttachmentJsonator
- extends Object
- implements Jsonator<Attachment>
Creates JSON objects for attachments.
Strings are not HTML escaped.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentJsonator
public AttachmentJsonator(ContextPathHolder context,
ThumbnailManager thumbnailManager)
convert
public Json convert(Attachment attachment)
- Description copied from interface:
Jsonator
- Creates a
Json
representation of a given object
- Specified by:
convert
in interface Jsonator<Attachment>
- Parameters:
attachment
- the object to be serialized
- Returns:
- Json JSON representation of the given object
Copyright © 2003-2013 Atlassian. All Rights Reserved.