|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.jxp.JxpContext
public class JxpContext
A jxp context encapsulate the pagesource and default environment. It creates the JxpProcessingContext to the JxpProcessor.
Field Summary | |
---|---|
private java.util.Map |
_defaultEnv
the default environment |
private JxpPageSource |
_source
the page source |
Constructor Summary | |
---|---|
JxpContext(JxpPageSource source)
Constructor |
|
JxpContext(JxpPageSource source,
java.util.Map defaultEnv)
Constructor |
Method Summary | |
---|---|
JxpProcessingContext |
createProcessingContext(java.util.Map pageEnv,
java.io.Writer writer)
Create processing context |
java.util.Map |
getEnvironment()
Get the environment |
JxpPageSource |
getPageSource()
Get the page source |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final JxpPageSource _source
private final java.util.Map _defaultEnv
Constructor Detail |
---|
public JxpContext(JxpPageSource source)
source
- the page sourcepublic JxpContext(JxpPageSource source, java.util.Map defaultEnv)
source
- the sourceenv
- the environmentMethod Detail |
---|
public JxpPageSource getPageSource()
public java.util.Map getEnvironment()
public JxpProcessingContext createProcessingContext(java.util.Map pageEnv, java.io.Writer writer) throws java.lang.Exception
page
- the page
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |