biz.hammurapi.web.eval
Class ContextPageSource

java.lang.Object
  extended byorg.onemind.jxp.JxpPageSource
      extended byorg.onemind.jxp.CachingPageSource
          extended bybiz.hammurapi.web.eval.ContextPageSource

public class ContextPageSource
extends org.onemind.jxp.CachingPageSource

Represents a JxpPageSource using context.

Author:
TiongHiang Lee (thlee@onemindsoft.org)

Constructor Summary
ContextPageSource(biz.hammurapi.config.Context context)
           
 
Method Summary
protected  boolean hasStream(java.lang.String pageName)
           
protected  boolean isExpired(org.onemind.jxp.CachedJxpPage page)
           
protected  java.io.InputStream loadStream(org.onemind.jxp.CachedJxpPage page)
          
 
Methods inherited from class org.onemind.jxp.CachingPageSource
getEncoding, getErrorSource, getJxpDocument, getJxpPage, hasJxpPage, invalidatePageCache, isCaching, isJxpPageCached, purgeStaticVariables, setCaching, setEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextPageSource

public ContextPageSource(biz.hammurapi.config.Context context)
Method Detail

isExpired

protected boolean isExpired(org.onemind.jxp.CachedJxpPage page)

hasStream

protected boolean hasStream(java.lang.String pageName)

loadStream

protected java.io.InputStream loadStream(org.onemind.jxp.CachedJxpPage page)
                                  throws java.io.IOException

Throws:
java.io.IOException


Copyright © 2006 Hammurapi Group. All Rights Reserved.