org.apache.cocoon.jxpath
Class JXPathCocoonContexts.ContextProxy

java.lang.Object
  extended by org.apache.cocoon.jxpath.JXPathCocoonContexts.ContextProxy
All Implemented Interfaces:
Context
Enclosing class:
JXPathCocoonContexts

public class JXPathCocoonContexts.ContextProxy
extends Object
implements Context


Constructor Summary
JXPathCocoonContexts.ContextProxy(Context delegate)
           
 
Method Summary
 Object getAttribute(String name)
           
 Enumeration getAttributeNames()
           
 String getInitParameter(String name)
           
 String getMimeType(String file)
           
 String getRealPath(String path)
           
 URL getResource(String path)
           
 InputStream getResourceAsStream(String path)
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathCocoonContexts.ContextProxy

public JXPathCocoonContexts.ContextProxy(Context delegate)
Method Detail

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface Context

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in interface Context

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in interface Context

getAttributeNames

public Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface Context

getResource

public URL getResource(String path)
                throws MalformedURLException
Specified by:
getResource in interface Context
Throws:
MalformedURLException

getRealPath

public String getRealPath(String path)
Specified by:
getRealPath in interface Context

getMimeType

public String getMimeType(String file)
Specified by:
getMimeType in interface Context

getInitParameter

public String getInitParameter(String name)
Specified by:
getInitParameter in interface Context

getResourceAsStream

public InputStream getResourceAsStream(String path)
Specified by:
getResourceAsStream in interface Context


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.