|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.language.markup.xsp.XSPUtil
The XSP Utility
object helper
Field Summary | |
static String |
XSP_COOKIE_PREFIX
The namespace prefix for the cookie logicsheet. |
static String |
XSP_COOKIE_URI
The namespace for the cookie logicsheet. |
static String |
XSP_REQUEST_PREFIX
The namespace prefix for the request logicsheet. |
static String |
XSP_REQUEST_URI
The namespace for the request logicsheet. |
static String |
XSP_RESPONSE_PREFIX
The namespace prefix for the response logicsheet. |
static String |
XSP_RESPONSE_URI
The namespace for the response logicsheet. |
static String |
XSP_URI
The namespace for the XSP core logicsheet. |
Constructor Summary | |
XSPUtil()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String XSP_URI
public static final String XSP_REQUEST_PREFIX
public static final String XSP_REQUEST_URI
public static final String XSP_RESPONSE_PREFIX
public static final String XSP_RESPONSE_URI
public static final String XSP_COOKIE_PREFIX
public static final String XSP_COOKIE_URI
Constructor Detail |
public XSPUtil()
Method Detail |
public static String pathComponent(String filename)
public static String fileComponent(String filename)
public static String baseName(String filename)
public static String baseName(String filename, String suffix)
public static String normalizedBaseName(String filename)
public static String normalizedName(String filename)
public static String relativeFilename(String filename, Map objectModel) throws IOException
IOException
public static boolean isAlphaNumeric(char c)
public static String[] split(String line)
public static String[] split(String line, String delimiter)
public static String encodeMarkup(String string)
public static String formEncode(String text) throws Exception
Exception
public static String formDecode(String s) throws Exception
Exception
public static String formatDate(Date date, String pattern)
public static int getCount()
public static int getSessionCount(Session session)
public static Object getContextAttribute(Map objectModel, String name)
public static String getSourceContents(String url, SourceResolver resolver) throws IOException
IOException
public static String getSourceContents(String uri, String base, SourceResolver resolver) throws IOException
IOException
public static String getFileContents(String filename) throws IOException
IOException
public static String getFileContents(String filename, String encoding) throws IOException
IOException
public static String getContents(InputStream in, String encoding) throws IOException
IOException
public static String getContents(InputStream in) throws IOException
IOException
public static String getContents(Reader reader) throws IOException
IOException
public static void includeSource(String uri, String base, SourceResolver resolver, ContentHandler contentHandler) throws RuntimeException
RuntimeException
public static void includeString(String string, ServiceManager manager, ContentHandler contentHandler) throws RuntimeException
RuntimeException
public static void includeFile(String name, ServiceManager manager, ContentHandler contentHandler, Map objectModel) throws RuntimeException
RuntimeException
public static void includeInputSource(InputSource source, ServiceManager manager, ContentHandler contentHandler) throws RuntimeException
RuntimeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |