| java.lang.Object org.apache.jasper.tagplugins.jstl.Util
Util | public class Util (Code) | | Util contains some often used consts, static methods and embedded class
to support the JSTL tag plugin.
|
DEFAULT_ENCODING | final public static String DEFAULT_ENCODING(Code) | | |
HIGHEST_SPECIAL | final public static int HIGHEST_SPECIAL(Code) | | |
VALID_SCHEME_CHAR | final public static String VALID_SCHEME_CHAR(Code) | | |
specialCharactersRepresentation | public static char[][] specialCharactersRepresentation(Code) | | |
escapeXml | public static String escapeXml(String buffer)(Code) | | Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml().
taken from org.apache.taglibs.standard.tag.common.core.Util
|
getContentTypeAttribute | public static String getContentTypeAttribute(String input, String name)(Code) | | Get the value associated with a content-type attribute.
Syntax defined in RFC 2045, section 5.1.
taken from org.apache.taglibs.standard.tag.common.core.Util
|
getScope | public static int getScope(String scope)(Code) | | Converts the given string description of a scope to the corresponding
PageContext constant.
The validity of the given scope has already been checked by the
appropriate TLV.
Parameters: scope - String description of scope PageContext constant corresponding to given scope descriptiontaken from org.apache.taglibs.standard.tag.common.core.Util |
isAbsoluteUrl | public static boolean isAbsoluteUrl(String url)(Code) | | Returns true if our current URL is absolute,
false otherwise.
taken from org.apache.taglibs.standard.tag.common.core.ImportSupport
|
stripSession | public static String stripSession(String url)(Code) | | Strips a servlet session ID from url. The session ID
is encoded as a URL "path parameter" beginning with "jsessionid=".
We thus remove anything we find between ";jsessionid=" (inclusive)
and either EOS or a subsequent ';' (exclusive).
taken from org.apache.taglibs.standard.tag.common.core.ImportSupport
|
|
|