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, setEncodingprotected AstJxpDocument parseJxpDocument(JxpPage page) throws JxpPageParseException
JxpPageParseExceptionpublic void putPageBuffer(java.lang.String id,
byte[] buffer)
protected boolean isExpired(CachedJxpPage page)
CachingPageSourceisExpired in class CachingPageSourcepage - the pageprotected boolean hasStream(java.lang.String pageName)
CachingPageSourcehasStream in class CachingPageSourcepageName - the page nameprotected java.io.InputStream loadStream(CachedJxpPage page) throws java.io.IOException
CachingPageSourceloadStream in class CachingPageSourcejava.io.IOException