org.apache.cocoon.environment
Interface Context
- All Known Implementing Classes:
- CommandLineContext, HttpContext, JXPathCocoonContexts.ContextProxy, PortletContext
public interface Context
Defines an interface to provide client context information .
- Version:
- CVS $Id: Context.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Davanum Srinivas
getAttribute
Object getAttribute(String name)
setAttribute
void setAttribute(String name,
Object value)
removeAttribute
void removeAttribute(String name)
getAttributeNames
Enumeration getAttributeNames()
getResource
URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getRealPath
String getRealPath(String path)
getMimeType
String getMimeType(String file)
getInitParameter
String getInitParameter(String name)
getResourceAsStream
InputStream getResourceAsStream(String path)
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.