Class AttributeURIResolver
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.transformation.AbstractURIResolver
org.ametys.cms.transformation.AttributeURIResolver
org.ametys.plugins.joboffer.transformation.AttributeURIResolver
- All Implemented Interfaces:
URIResolver
,Initializable
,Contextualizable
,LogEnabled
,Serviceable
URIResolver
for type "joboffer-attribute".-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.cms.transformation.AttributeURIResolver
AttributeURIResolver.AttributeInfo
-
Field Summary
Fields inherited from class org.ametys.cms.transformation.AttributeURIResolver
_context, _resolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the type of links handled by thisURIResolver
.protected String
getUri
(String path, ModelAwareDataAwareAmetysObject object, boolean download, boolean absolute, boolean internal) Get the URI prefixvoid
Methods inherited from class org.ametys.cms.transformation.AttributeURIResolver
_getAttributeInfo, _resolve, checkLink, contextualize, getLabel, getMimeType, resolveImageAsBase64, service
Methods inherited from class org.ametys.cms.transformation.AbstractURIResolver
resolve, resolveBoundedImage, resolveBoundedImageAsBase64, resolveCroppedImage, resolveCroppedImageAsBase64, resolveImage, resolveImageAsBase64
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
AttributeURIResolver
public AttributeURIResolver()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getType
Description copied from interface:URIResolver
Returns the type of links handled by thisURIResolver
.- Specified by:
getType
in interfaceURIResolver
- Overrides:
getType
in classAttributeURIResolver
- Returns:
- the type of links handled by this
URIResolver
.
-
getUri
protected String getUri(String path, ModelAwareDataAwareAmetysObject object, boolean download, boolean absolute, boolean internal) Description copied from class:AttributeURIResolver
Get the URI prefix- Overrides:
getUri
in classAttributeURIResolver
- Parameters:
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.- Returns:
- the URI prefix
-