public interface HypermediaConverter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEDIA_TYPE_ADOBE_ASSETS |
static java.lang.String |
MEDIA_TYPE_ADOBE_DIRECTORY |
static java.lang.String |
MEDIA_TYPE_ADOBE_METADATA |
static java.lang.String |
MEDIA_TYPE_ADOBE_RENDITION |
static java.lang.String |
MEDIA_TYPE_ADOBE_VERSIONS |
static java.lang.String |
MEDIA_TYPE_SIREN |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMediaTypeMatcher()
Return the media type string this converter supports
|
ConverterResponse |
render(ConverterContext context,
Resource resource,
ModelDescription description)
Serialize the resource into the media type specific representation
|
java.lang.Object |
renderSubEntity(ConverterContext context,
Resource resource,
ModelDescription description)
Serialize a resource to be embedded into the main resource serialization as a child.
|
static final java.lang.String MEDIA_TYPE_SIREN
static final java.lang.String MEDIA_TYPE_ADOBE_DIRECTORY
static final java.lang.String MEDIA_TYPE_ADOBE_ASSETS
static final java.lang.String MEDIA_TYPE_ADOBE_RENDITION
static final java.lang.String MEDIA_TYPE_ADOBE_METADATA
static final java.lang.String MEDIA_TYPE_ADOBE_VERSIONS
java.lang.String getMediaTypeMatcher()
ConverterResponse render(ConverterContext context, Resource resource, ModelDescription description)
context
- The ConverterContextresource
- The Resource to renderdescription
- The ModelDescription describing the resource to be serializedjava.lang.Object renderSubEntity(ConverterContext context, Resource resource, ModelDescription description)
context
- The ConverterContextresource
- The Resource to renderdescription
- The ModelDescription describing the resource to be serialized"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"