|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.tagplugins.jstl.Util
public class Util
Util contains some often used consts, static methods and embedded class to support the JSTL tag plugin.
Nested Class Summary | |
---|---|
static class |
Util.ImportResponseWrapper
Wraps responses to allow us to retrieve results as Strings. |
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ENCODING
|
static int |
HIGHEST_SPECIAL
|
static java.lang.String |
VALID_SCHEME_CHAR
|
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static java.lang.String |
escapeXml(char[] arrayBuffer,
int length)
|
static java.lang.String |
escapeXml(java.lang.String buffer)
Performs the following substring replacements (to facilitate output to XML/HTML pages): & -> & < -> < > -> > " -> " ' -> ' See also OutSupport.writeEscapedXml(). |
static java.lang.String |
getContentTypeAttribute(java.lang.String input,
java.lang.String name)
Get the value associated with a content-type attribute. |
static int |
getScope(java.lang.String scope)
Converts the given string description of a scope to the corresponding PageContext constant. |
static boolean |
isAbsoluteUrl(java.lang.String url)
Returns true if our current URL is absolute, false otherwise. |
static java.lang.String |
resolveUrl(java.lang.String url,
java.lang.String context,
PageContext pageContext)
Utility methods taken from org.apache.taglibs.standard.tag.common.core.UrlSupport |
static java.lang.String |
stripSession(java.lang.String url)
Strips a servlet session ID from url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VALID_SCHEME_CHAR
public static final java.lang.String DEFAULT_ENCODING
public static final int HIGHEST_SPECIAL
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int getScope(java.lang.String scope)
scope
- String description of scope
public static boolean isAbsoluteUrl(java.lang.String url)
public static java.lang.String getContentTypeAttribute(java.lang.String input, java.lang.String name)
public static java.lang.String stripSession(java.lang.String url)
public static java.lang.String escapeXml(java.lang.String buffer)
public static java.lang.String escapeXml(char[] arrayBuffer, int length)
public static java.lang.String resolveUrl(java.lang.String url, java.lang.String context, PageContext pageContext) throws JspException
JspException
|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |