public class HstElementTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Modifier and Type | Class and Description |
---|---|
static class |
HstElementTag.TEI
TagExtraInfo class for HstURLTag.
|
Modifier and Type | Field and Description |
---|---|
protected Element |
element |
protected String |
name |
protected Element |
parentElement |
protected String |
var |
Constructor and Description |
---|
HstElementTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup() |
int |
doEndTag() |
int |
doStartTag() |
Element |
getElement()
Returns the created element
|
String |
getName()
Returns the name property.
|
String |
getVar()
Returns the var property.
|
void |
release() |
void |
setName(String name)
Sets the name property.
|
void |
setVar(String var)
Sets the var property.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String var
protected String name
protected Element element
protected Element parentElement
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
protected void cleanup()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public String getVar()
public void setVar(String var)
var
- The var to setpublic String getName()
public void setName(String name)
name
- The name to setpublic Element getElement()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.