Class FindResourcesTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.sling.scripting.jsp.taglib.FindResourcesTag
-
- All Implemented Interfaces:
java.io.Serializable
,IterationTag
,JspTag
,Tag
public class FindResourcesTag extends TagSupport
Tag for searching for resources using the given query formulated in the given language.- 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 FindResourcesTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
Default processing of the end tag returning EVAL_PAGE.java.lang.String
getLanguage()
Gets the language.java.lang.String
getQuery()
Gets the query.java.lang.String
getVar()
Gets the variable name to which to save the list of children.void
setLanguage(java.lang.String language)
Sets the language.void
setQuery(java.lang.String query)
Sets the query.void
setVar(java.lang.String var)
Sets the variable name to which to save the list of children.-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
doEndTag
public int doEndTag()
Description copied from class:TagSupport
Default processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- EVAL_PAGE
- See Also:
Tag.doEndTag()
-
getLanguage
public java.lang.String getLanguage()
Gets the language.- Returns:
- the language
-
getQuery
public java.lang.String getQuery()
Gets the query.- Returns:
- the query
-
getVar
public java.lang.String getVar()
Gets the variable name to which to save the list of children.- Returns:
- the variable name
-
setLanguage
public void setLanguage(java.lang.String language)
Sets the language.- Parameters:
language
- the new language
-
setQuery
public void setQuery(java.lang.String query)
Sets the query.- Parameters:
query
- the new query
-
setVar
public void setVar(java.lang.String var)
Sets the variable name to which to save the list of children.- Parameters:
var
- the variable name
-
-