Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » environment » [javadoc | source]
org.apache.cocoon.environment
public interface: Context [javadoc | source]

All Known Implementing Classes:
    HttpContext, PortletContext, CommandlineContext, ContextProxy, CommandLineContext

Defines an interface to provide client context information .
Method from org.apache.cocoon.environment.Context Summary:
getAttribute,   getAttributeNames,   getInitParameter,   getMimeType,   getRealPath,   getResource,   getResourceAsStream,   removeAttribute,   setAttribute
Method from org.apache.cocoon.environment.Context Detail:
 public Object getAttribute(String name)
 public Enumeration getAttributeNames()
 public String getInitParameter(String name)
 public String getMimeType(String file)
 public String getRealPath(String path)
 public URL getResource(String path) throws MalformedURLException
 public InputStream getResourceAsStream(String path)
 public  void removeAttribute(String name)
 public  void setAttribute(String name,
    Object value)