org.ztemplates.render
Class ZRenderApplicationContext

java.lang.Object
  extended by org.ztemplates.render.ZRenderApplicationContext
All Implemented Interfaces:
ZIRenderApplicationContext

public class ZRenderApplicationContext
extends Object
implements ZIRenderApplicationContext


Constructor Summary
ZRenderApplicationContext(String encoding, Map<String,String> initParameters, Map<String,Object> attributes)
           
 
Method Summary
 Object getAttribute(String name)
           
 String getEncoding()
           
 String getInitParameter(String name)
           
 Enumeration<String> getInitParameterNames()
           
 Map<String,String> getInitParameters()
           
 InputStream getResourceAsStream(String path)
           
 boolean isDevMode()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 void setDevMode(boolean devMode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZRenderApplicationContext

public ZRenderApplicationContext(String encoding,
                                 Map<String,String> initParameters,
                                 Map<String,Object> attributes)
Method Detail

getResourceAsStream

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

getInitParameter

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

getInitParameterNames

public Enumeration<String> getInitParameterNames()
Specified by:
getInitParameterNames in interface ZIRenderApplicationContext

getAttribute

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

removeAttribute

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

setAttribute

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

getInitParameters

public Map<String,String> getInitParameters()

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface ZIRenderApplicationContext

isDevMode

public boolean isDevMode()
Specified by:
isDevMode in interface ZIRenderApplicationContext

setDevMode

public void setDevMode(boolean devMode)
Specified by:
setDevMode in interface ZIRenderApplicationContext


Copyright © 2011. All Rights Reserved.