|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.pluto.tags.BaseURLTag
public abstract class BaseURLTag
Abstract supporting class for actionURL tag, renderURL tag and resourceURL tag.
Nested Class Summary | |
---|---|
static class |
BaseURLTag.TEI
TagExtraInfo class for BaseUrlTag. |
Field Summary | |
---|---|
protected Boolean |
escapeXml
|
protected Map<String,List<String>> |
parametersMap
|
protected Map<String,List<String>> |
propertiesMap
|
protected String |
secure
|
protected Boolean |
secureBoolean
|
protected String |
var
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
BaseURLTag()
|
Method Summary | |
---|---|
protected void |
addParameter(String key,
String value)
Adds a key,value pair to the parameter map. |
protected void |
addProperty(String key,
String value)
Adds a key,value pair to the property map. |
abstract int |
doEndTag()
|
protected String |
doEscapeXml(String str)
Replaces in String str the characters &,>,<,",' with their corresponding character entity codes. |
abstract int |
doStartTag()
|
Boolean |
getEscapeXml()
Returns escapeXml property. |
String |
getSecure()
Returns secure property as String. |
boolean |
getSecureBoolean()
Returns secure property as Boolean. |
String |
getVar()
Returns the var property. |
void |
release()
|
void |
setEscapeXml(Boolean escapeXml)
Sets the escapeXml property. |
void |
setSecure(String secure)
Sets secure property to boolean value of the string. |
protected void |
setUrlParameters(BaseURL url)
Copies the parameters from map to the BaseURL. |
protected void |
setUrlProperties(BaseURL url)
Copies the properties from map to the BaseURL. |
void |
setVar(String var)
Sets the var property. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String secure
protected Boolean secureBoolean
protected String var
protected Boolean escapeXml
protected Map<String,List<String>> parametersMap
protected Map<String,List<String>> propertiesMap
Constructor Detail |
---|
public BaseURLTag()
Method Detail |
---|
public abstract int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public abstract int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public String getSecure()
public boolean getSecureBoolean()
public String getVar()
public Boolean getEscapeXml()
public void setSecure(String secure)
secure
- public void setVar(String var)
var
- The var to setpublic void setEscapeXml(Boolean escapeXml)
escapeXml
- protected void addParameter(String key, String value)
key
- Stringvalue
- Stringprotected void addProperty(String key, String value)
key
- Stringvalue
- Stringprotected void setUrlParameters(BaseURL url)
url
- BaseURLprotected void setUrlProperties(BaseURL url)
url
- BaseURLprotected String doEscapeXml(String str)
str
- - the String where to replace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |