|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.standard.tag.common.core.Util
public class Util
Utilities in support of tag-handler classes.
Field Summary | |
---|---|
static int |
HIGHEST_SPECIAL
|
static char[][] |
specialCharactersRepresentation
|
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
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 Enumeration |
getRequestLocales(javax.servlet.http.HttpServletRequest request)
HttpServletRequest.getLocales() returns the server's default locale if the request did not specify a preferred language. |
static int |
getScope(String scope)
|
static int |
getStyle(String style,
String errCode)
|
static String |
URLEncode(String s,
String enc)
URL encodes a string, based on the supplied character encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HIGHEST_SPECIAL
public static char[][] specialCharactersRepresentation
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int getScope(String scope)
public static int getStyle(String style, String errCode) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public static String escapeXml(String buffer)
public static String getContentTypeAttribute(String input, String name)
public static String URLEncode(String s, String enc)
s
- The String to be URL encoded.enc
- The character encoding
public static Enumeration getRequestLocales(javax.servlet.http.HttpServletRequest request)
|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |