public class ByteArrayPageSource extends CachingPageSource
Modifier and Type | Field and Description |
---|---|
private java.util.Map |
_buffers |
Constructor and Description |
---|
ByteArrayPageSource() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasStream(java.lang.String pageName)
Whether there's input stream from given page name
|
protected boolean |
isExpired(CachedJxpPage page)
Whether a page is expired
|
protected java.io.InputStream |
loadStream(CachedJxpPage page)
Load the input stream for the page
|
protected AstJxpDocument |
parseJxpDocument(JxpPage page) |
void |
putPageBuffer(java.lang.String id,
byte[] buffer) |
assignPageStaticVariable, declarePageStaticVariable, getEncoding, getErrorSource, getJxpDocument, getJxpPage, getPageStaticVariable, hasJxpPage, hasPageStaticVariable, invalidatePageCache, isCaching, isJxpPageCached, purgeStaticVariables, setCaching, setEncoding
protected AstJxpDocument parseJxpDocument(JxpPage page) throws JxpPageParseException
JxpPageParseException
public void putPageBuffer(java.lang.String id, byte[] buffer)
protected boolean isExpired(CachedJxpPage page)
CachingPageSource
isExpired
in class CachingPageSource
page
- the pageprotected boolean hasStream(java.lang.String pageName)
CachingPageSource
hasStream
in class CachingPageSource
pageName
- the page nameprotected java.io.InputStream loadStream(CachedJxpPage page) throws java.io.IOException
CachingPageSource
loadStream
in class CachingPageSource
java.io.IOException