| java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.sun.portal.wireless.taglibs.base.BaseBodyTagSupport com.sun.portal.wireless.taglibs.util.UrlMaker
All known Subclasses: com.sun.portal.wireless.taglibs.util.UrlTag, com.sun.portal.wireless.taglibs.util.IncludeTag, com.sun.portal.wireless.taglibs.util.ForwardTag,
UrlMaker | public class UrlMaker extends BaseBodyTagSupport (Code) | | Base implementation for tags that
construct URL's using FileLookup.
version: 1.0, 03/08/2001 |
Method Summary | |
public void | addParm(String name, String value, boolean urlAmpEntity) Used by the ParmTag class to add query string parameters to URLs
being constructed by tag implementations which are subclasses of
UrlMaker.
Note: There is a hack to accomodate WML style dynamic URL generation.
If a <util:parm> occurs whose content begins with the string
"$(", it is assumed to be of the form "$(var)". | protected String | computeUrl(boolean staticParmsOnly) Computes appropriate URL... | public int | doStartTag() Called at the beginning of a tag... | protected void | getContext() Always set context, even if
there is no iPS session... | public void | release() | public void | setComp(String s) "comp" attribute set method... | public void | setCompress(String s) "compress" attribute set method... | public void | setDeferLookup(String s) "deferLookup" attribute set method... | public void | setFile(String s) "file" attribute set method... | public void | setIncludeSid(String s) "includeSid" attribute set method... | public void | setPath(String s) "comp" attribute set method... |
compress | protected boolean compress(Code) | | |
deferLookup | protected boolean deferLookup(Code) | | |
includeSid | protected boolean includeSid(Code) | | |
addParm | public void addParm(String name, String value, boolean urlAmpEntity)(Code) | | Used by the ParmTag class to add query string parameters to URLs
being constructed by tag implementations which are subclasses of
UrlMaker.
Note: There is a hack to accomodate WML style dynamic URL generation.
If a <util:parm> occurs whose content begins with the string
"$(", it is assumed to be of the form "$(var)". Query string
parameters of this form will be collected seperately, and will
not be included in the URL passed to the Compressor.compressURL()
method. Refer to the UrlMaker.computeUrl() method as well as
the UrlTag, ForwardTag, and IncludeTag implementations for additional
information.
|
computeUrl | protected String computeUrl(boolean staticParmsOnly) throws JspException(Code) | | Computes appropriate URL...
Rewritten URL... |
doStartTag | public int doStartTag() throws JspException(Code) | | Called at the beginning of a tag...
what to do next |
getContext | protected void getContext() throws JspException(Code) | | Always set context, even if
there is no iPS session...
|
release | public void release()(Code) | | |
setComp | public void setComp(String s)(Code) | | "comp" attribute set method...
Parameters: s - attribute value. |
setCompress | public void setCompress(String s)(Code) | | "compress" attribute set method...
Parameters: s - attribute value. |
setDeferLookup | public void setDeferLookup(String s)(Code) | | "deferLookup" attribute set method...
Parameters: s - attribute value. |
setFile | public void setFile(String s)(Code) | | "file" attribute set method...
Parameters: s - attribute value. |
setIncludeSid | public void setIncludeSid(String s)(Code) | | "includeSid" attribute set method...
Parameters: s - attribute value. |
setPath | public void setPath(String s)(Code) | | "comp" attribute set method...
Parameters: s - attribute value. |
Fields inherited from com.sun.portal.wireless.taglibs.base.BaseBodyTagSupport | protected String name(Code)(Java Doc)
|
|
|