public class MetadataURIResolver extends MetadataURIResolver
URIResolver
for type "metadata".MetadataURIResolver.MetaInfo
Modifier and Type | Field and Description |
---|---|
protected URIPrefixHandler |
_prefixHandler
The URI prefix handler
|
private RenderingContextHandler |
_renderingContexthandler |
private SiteManager |
_siteManager |
_context, _resolver
Constructor and Description |
---|
MetadataURIResolver() |
Modifier and Type | Method and Description |
---|---|
protected String |
getUri(String path,
MetadataAwareAmetysObject object,
boolean download,
boolean absolute,
boolean internal)
Get the URI prefix
|
void |
service(ServiceManager manager) |
_getMetaInfo, checkLink, contextualize, getBinaryMetadata, getLabel, getType, resolve, resolveBoundedImage, resolveBoundedImageAsBase64, resolveImage, resolveImageAsBase64, resolveImageAsBase64
protected URIPrefixHandler _prefixHandler
private RenderingContextHandler _renderingContexthandler
private SiteManager _siteManager
public MetadataURIResolver()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class MetadataURIResolver
ServiceException
protected String getUri(String path, MetadataAwareAmetysObject object, boolean download, boolean absolute, boolean internal)
MetadataURIResolver
getUri
in class MetadataURIResolver
path
- the resource pathobject
- The objectdownload
- true if the pointed resource is to be downloaded.absolute
- true if the url must be absoluteinternal
- true to get an internal URI.