|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.headerresource.HeaderResourceLib
public class HeaderResourceLib
HeaderResourceLib static utility methods
Field Summary | |
---|---|
protected static String |
EOL
|
private static String |
MAILTO_URL_SCHEME
|
private static int |
MAILTO_URL_SCHEME_LEN
|
Constructor Summary | |
---|---|
HeaderResourceLib()
|
Method Summary | |
---|---|
static String |
getHeaderType(Integer headerTypeId)
|
static int |
getHeaderTypeId(String headerType)
|
static String |
getPortalBaseUrl(RequestContext requestContext)
Portal base url ( e.g. |
static String |
getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride)
Portal base url ( e.g. |
static String |
getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride,
boolean fullUrl)
Portal base url ( e.g. |
static String |
getPortalResourceUrl(String relativePath,
String portalBaseUrl)
Portal base url with relativePath argument appended ( e.g. |
static String |
getPortalResourceUrl(String relativePath,
String portalBaseUrl,
boolean encode,
RequestContext requestContext)
Portal base url with relativePath argument appended ( e.g. |
static String |
getPortalUrl(String portalBaseUrl,
RequestContext requestContext)
Portal base servlet url ( e.g. |
static String |
getPortalUrl(String portalBaseUrl,
RequestContext requestContext,
String servletPath)
Portal base servlet url ( e.g. |
static String |
getPortalUrl(String relativePath,
String portalUrl)
Portal base servlet url with relativePath argument appended ( e.g. |
static String |
getPortalUrl(String relativePath,
String portalUrl,
boolean encode,
RequestContext requestContext)
Portal base servlet url with relativePath argument appended ( e.g. |
static String |
makeJavascriptStatement(String statement,
String indent,
boolean addEOL)
|
static String |
makeJSONBoolean(Object source)
|
static String |
makeJSONInteger(Object source,
boolean quote)
|
static StringBuffer |
makeJSONObject(Map[] objectMaps,
boolean whenEmptyReturnNewObject)
|
static StringBuffer |
makeJSONObject(Map objectMap,
boolean whenEmptyReturnNewObject)
|
static StringBuffer |
makeJSONObject(StringBuffer jsonBuffer,
Map[] objectMaps,
boolean whenEmptyReturnNewObject)
|
static StringBuffer |
makeJSONObject(StringBuffer jsonBuffer,
Map objectMap,
boolean whenEmptyReturnNewObject)
|
static String |
makeJSONStringArray(Collection stringList)
|
static String |
makeJSONStringArray(Collection stringList,
List compiledUniqueValues)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String EOL
private static final String MAILTO_URL_SCHEME
private static final int MAILTO_URL_SCHEME_LEN
Constructor Detail |
---|
public HeaderResourceLib()
Method Detail |
---|
public static int getHeaderTypeId(String headerType)
public static String getHeaderType(Integer headerTypeId)
public static String getPortalBaseUrl(RequestContext requestContext)
public static String getPortalBaseUrl(RequestContext requestContext, BasePortalURL baseUrlAccessOverride)
public static String getPortalBaseUrl(RequestContext requestContext, BasePortalURL baseUrlAccessOverride, boolean fullUrl)
public static String getPortalUrl(String portalBaseUrl, RequestContext requestContext)
public static String getPortalUrl(String portalBaseUrl, RequestContext requestContext, String servletPath)
public static String getPortalUrl(String relativePath, String portalUrl)
public static String getPortalUrl(String relativePath, String portalUrl, boolean encode, RequestContext requestContext)
public static String getPortalResourceUrl(String relativePath, String portalBaseUrl)
public static String getPortalResourceUrl(String relativePath, String portalBaseUrl, boolean encode, RequestContext requestContext)
public static StringBuffer makeJSONObject(Map objectMap, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(Map[] objectMaps, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(StringBuffer jsonBuffer, Map objectMap, boolean whenEmptyReturnNewObject)
public static StringBuffer makeJSONObject(StringBuffer jsonBuffer, Map[] objectMaps, boolean whenEmptyReturnNewObject)
public static String makeJavascriptStatement(String statement, String indent, boolean addEOL)
public static String makeJSONStringArray(Collection stringList)
public static String makeJSONStringArray(Collection stringList, List compiledUniqueValues)
public static String makeJSONInteger(Object source, boolean quote)
public static String makeJSONBoolean(Object source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |