Class AbstractCATag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.sling.scripting.jsp.taglib.AbstractCATag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
GetCAConfigResourcesTag,GetCAConfigResourceTag
public abstract class AbstractCATag
extends javax.servlet.jsp.tagext.TagSupport
Abstract class for Tags for interactiving with Context-Aware Configuration
resources to extend.
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationResourceResolverMethod for retrieving the ConfigurationResourceResolver from the page context.getName()getVar()Gets the variable name to which to save the list of children.voidvoidvoidsetResource(Resource resource) voidSets 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
-
Constructor Details
-
AbstractCATag
public AbstractCATag()
-
-
Method Details
-
getBucket
- Returns:
- the bucket
-
getName
- Returns:
- the name
-
getResource
- Returns:
- the resource
-
getConfigurationResourceResolver
Method for retrieving the ConfigurationResourceResolver from the page context.- Returns:
- the resource resolver
-
getVar
Gets the variable name to which to save the list of children.- Returns:
- the variable name
-
setBucket
- Parameters:
bucket- the bucket to set
-
setName
- Parameters:
name- the name to set
-
setResource
- Parameters:
resource- the resource to set
-
setVar
Sets the variable name to which to save the list of children.- Parameters:
var- the variable name
-