Class CmsImageTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- net.anotheria.tags.BaseTagSupport
-
- net.anotheria.anosite.tags.resource.AbstractResourceTag
-
- net.anotheria.anosite.tags.resource.image.CmsImageTag
-
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
public class CmsImageTag extends AbstractResourceTag
Anotheria Image Tag.- Author:
- h3ll
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.anotheria.anosite.tags.resource.AbstractResourceTag
AbstractResourceTag.ReadPropertyType, AbstractResourceTag.ResultPropertyType
-
-
Constructor Summary
Constructors Constructor Description CmsImageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetAliasFromDocument(net.anotheria.asg.data.DataObject document)Returns alias title - if available.protected StringgetAltFromDocument(net.anotheria.asg.data.DataObject document)Returns alt attribute value - if available.protected net.anotheria.asg.data.DataObjectgetDocument()ReturnDataObjectaccording to incomingAbstractResourceTag.ReadPropertyType.protected StringgetResourcePath()Return resource path.protected StringgetTitleFromDocument(net.anotheria.asg.data.DataObject document)Returns document title - if available.-
Methods inherited from class net.anotheria.anosite.tags.resource.AbstractResourceTag
doEndTag, getLog, getPropertyValue, getResourceDataService, getResultPropertyName, getResultType, getSelectPropertyName, getSelectType, isAddContextPath, setAddContextPath, setPropertyValue, setResultPropertyName, setSelectPropertyName
-
Methods inherited from class net.anotheria.tags.BaseTagSupport
getId, getName, getProperty, getScope, lookup, quote, release, setId, setName, setProperty, setScope, toString, write, writeLn
-
-
-
-
Method Detail
-
getTitleFromDocument
protected String getTitleFromDocument(net.anotheria.asg.data.DataObject document)
Description copied from class:AbstractResourceTagReturns document title - if available.- Specified by:
getTitleFromDocumentin classAbstractResourceTag- Parameters:
document-DataObject- Returns:
- string property
-
getAliasFromDocument
protected String getAliasFromDocument(net.anotheria.asg.data.DataObject document)
Description copied from class:AbstractResourceTagReturns alias title - if available.- Specified by:
getAliasFromDocumentin classAbstractResourceTag- Parameters:
document-DataObject- Returns:
- string property
-
getAltFromDocument
protected String getAltFromDocument(net.anotheria.asg.data.DataObject document)
Description copied from class:AbstractResourceTagReturns alt attribute value - if available.- Specified by:
getAltFromDocumentin classAbstractResourceTag- Parameters:
document-DataObjectinstance- Returns:
Stringproperty
-
getResourcePath
protected String getResourcePath()
Description copied from class:AbstractResourceTagReturn resource path.- Specified by:
getResourcePathin classAbstractResourceTag- Returns:
- resource path
-
getDocument
protected net.anotheria.asg.data.DataObject getDocument() throws jakarta.servlet.jsp.JspExceptionDescription copied from class:AbstractResourceTagReturnDataObjectaccording to incomingAbstractResourceTag.ReadPropertyType.- Specified by:
getDocumentin classAbstractResourceTag- Returns:
DataObject- Throws:
jakarta.servlet.jsp.JspException- on errors
-
-