org.apache.cocoon.components.blocks
Class BlockContext
java.lang.Object
org.apache.cocoon.environment.impl.AbstractContext
org.apache.cocoon.components.blocks.BlockContext
- All Implemented Interfaces:
- Context
- public class BlockContext
- extends AbstractContext
- Version:
- SVN $Id: BlockContext.java 327850 2005-10-23 20:10:10Z danielf $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockContext
public BlockContext(BlockWiring wiring)
getAttribute
public Object getAttribute(String name)
setAttribute
public void setAttribute(String name,
Object value)
getAttributes
public Map getAttributes()
- Description copied from interface:
Context
- Utility method for getting a
Map
view of the context attributes.
Returns a Map
with context attributes.
- Specified by:
getAttributes
in interface Context
- Overrides:
getAttributes
in class AbstractContext
removeAttribute
public void removeAttribute(String name)
getAttributeNames
public Enumeration getAttributeNames()
getResource
public URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getRealPath
public String getRealPath(String path)
getMimeType
public String getMimeType(String file)
getInitParameter
public String getInitParameter(String name)
getResourceAsStream
public InputStream getResourceAsStream(String path)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.