public class ListChildrenTag
extends javax.servlet.jsp.tagext.TagSupport
Constructor and Description |
---|
ListChildrenTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
org.apache.sling.api.resource.Resource |
getResource()
Gets the resource of which to list the children.
|
String |
getVar()
Gets the variable name to which to save the list of children.
|
void |
setResource(org.apache.sling.api.resource.Resource resource)
Sets the resource of which to list the children.
|
void |
setVar(String var)
Sets the variable name to which to save the list of children.
|
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public org.apache.sling.api.resource.Resource getResource()
public String getVar()
public void setResource(org.apache.sling.api.resource.Resource resource)
resource
- the Sling Resourcepublic void setVar(String var)
var
- the variable nameCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.