|
Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 String |
DEFAULT_ENCODING
|
static int |
HIGHEST_SPECIAL
|
static String |
VALID_SCHEME_CHAR
|
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static String |
escapeXml(char[] arrayBuffer,
int length)
|
static String |
escapeXml(String buffer)
Performs the following substring replacements (to facilitate output to XML/HTML pages): & -> & < -> < > -> > " -> " ' -> ' See also OutSupport.writeEscapedXml(). |
static String |
getContentTypeAttribute(String input,
String name)
Get the value associated with a content-type attribute. |
static int |
getScope(String scope)
Converts the given string description of a scope to the corresponding PageContext constant. |
static boolean |
isAbsoluteUrl(String url)
Returns true if our current URL is absolute, false otherwise. |
static String |
resolveUrl(String url,
String context,
PageContext pageContext)
Utility methods taken from org.apache.taglibs.standard.tag.common.core.UrlSupport |
static String |
stripSession(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 String VALID_SCHEME_CHAR
public static final String DEFAULT_ENCODING
public static final int HIGHEST_SPECIAL
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int getScope(String scope)
scope
- String description of scope
public static boolean isAbsoluteUrl(String url)
public static String getContentTypeAttribute(String input, String name)
public static String stripSession(String url)
public static String escapeXml(String buffer)
public static String escapeXml(char[] arrayBuffer, int length)
public static String resolveUrl(String url, String context, PageContext pageContext) throws JspException
JspException
|
Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |