public class Util extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Util.ImportResponseWrapperWraps responses to allow us to retrieve results as Strings. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | DEFAULT_ENCODING | 
| static int | HIGHEST_SPECIAL | 
| static char[][] | specialCharactersRepresentation | 
| static String | VALID_SCHEME_CHAR | 
| Constructor and Description | 
|---|
| Util() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | escapeXml(String buffer)
 Performs the following substring replacements
 (to facilitate output to XML/HTML pages): | 
| static String | getContentTypeAttribute(String input,
                       String name) | 
| static int | getScope(String scope)Converts the given string description of a scope to the corresponding
 PageContext constant. | 
| static boolean | isAbsoluteUrl(String url) | 
| static String | resolveUrl(String url,
          String context,
          javax.servlet.jsp.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. | 
public static final String VALID_SCHEME_CHAR
public static final String DEFAULT_ENCODING
public static final int HIGHEST_SPECIAL
public static char[][] specialCharactersRepresentation
public static int getScope(String scope)
scope - String description of scopepublic static boolean isAbsoluteUrl(String url)
url - the URLpublic static String getContentTypeAttribute(String input, String name)
input - input stringname - name of attributepublic static String stripSession(String url)
url - the URLpublic static String escapeXml(String buffer)
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.Utilbuffer - stringpublic static String resolveUrl(String url, String context, javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
url - URLcontext - contextpageContext - page contextjavax.servlet.jsp.JspException - in case of errorsCopyright © 2000–2025 Apache Software Foundation. All rights reserved.