Package org.ametys.cms.transformation
Class LocalURIResolver.URIInfo
java.lang.Object
org.ametys.cms.transformation.LocalURIResolver.URIInfo
- Enclosing class:
LocalURIResolver
Helper class containg all infos parsed from URI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the attribute.Returns the resolved content, if any.Returns the content id.Returns the content version, if any.Returns the resource name.voidsetAttribute(String attribute) Set the attribute.voidsetContent(Content content) Set the content.voidsetContentId(String contentId) Set the content id.voidsetContentVersion(Optional<String> contentVersion) Set the content version.voidsetFilename(String name) Set the resource name.
-
Constructor Details
-
URIInfo
protected URIInfo()
-
-
Method Details
-
getContentId
Returns the content id.- Returns:
- the content id.
-
setContentId
Set the content id.- Parameters:
contentId- the content id.
-
getAttribute
Returns the attribute.- Returns:
- the attribute.
-
setAttribute
Set the attribute.- Parameters:
attribute- the attribute.
-
getFilename
Returns the resource name.- Returns:
- the name
-
setFilename
Set the resource name.- Parameters:
name- the name.
-
getContentVersion
Returns the content version, if any.- Returns:
- the content version.
-
setContentVersion
Set the content version.- Parameters:
contentVersion- the content version.
-
getContent
Returns the resolved content, if any.- Returns:
- the content.
-
setContent
Set the content.- Parameters:
content- the content.
-