Class AbstractCATag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.sling.scripting.jsp.taglib.AbstractCATag
-
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
- Direct Known Subclasses:
GetCAConfigResourcesTag,GetCAConfigResourceTag
public abstract class AbstractCATag extends TagSupport
Abstract class for Tags for interactiving with Context-Aware Configuration resources to extend.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor Description AbstractCATag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBucket()StringgetName()ResourcegetResource()StringgetVar()Gets the variable name to which to save the list of children.voidsetBucket(String bucket)voidsetName(String name)voidsetResource(Resource resource)voidsetVar(String var)Sets the variable name to which to save the list of children.-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
getBucket
public String getBucket()
- Returns:
- the bucket
-
getName
public String getName()
- Returns:
- the name
-
getResource
public Resource getResource()
- Returns:
- the resource
-
getVar
public String getVar()
Gets the variable name to which to save the list of children.- Returns:
- the variable name
-
setBucket
public void setBucket(String bucket)
- Parameters:
bucket- the bucket to set
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
setResource
public void setResource(Resource resource)
- Parameters:
resource- the resource to set
-
setVar
public void setVar(String var)
Sets the variable name to which to save the list of children.- Parameters:
var- the variable name
-
-