Class FindResourcesTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.sling.scripting.jsp.taglib.FindResourcesTag
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
public class FindResourcesTag extends javax.servlet.jsp.tagext.TagSupportTag for searching for resources using the given query formulated in the given language.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FindResourcesTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()java.lang.StringgetLanguage()Gets the language.java.lang.StringgetQuery()Gets the query.java.lang.StringgetVar()Gets the variable name to which to save the list of children.voidsetLanguage(java.lang.String language)Sets the language.voidsetQuery(java.lang.String query)Sets the query.voidsetVar(java.lang.String var)Sets the variable name to which to save the list of children.
-
-
-
Method Detail
-
doEndTag
public int doEndTag()
- Specified by:
doEndTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjavax.servlet.jsp.tagext.TagSupport
-
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
-
-