public class JxpContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map |
_defaultEnv
the default environment
|
private JxpPageSource |
_source
the page source
|
Constructor and Description |
---|
JxpContext(JxpPageSource source)
Constructor
|
JxpContext(JxpPageSource source,
java.util.Map defaultEnv)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
private final JxpPageSource _source
private final java.util.Map _defaultEnv
public JxpContext(JxpPageSource source)
source
- the page sourcepublic JxpContext(JxpPageSource source, java.util.Map defaultEnv)
source
- the sourceenv
- the environmentpublic JxpPageSource getPageSource()
public java.util.Map getEnvironment()
public JxpProcessingContext createProcessingContext(java.util.Map pageEnv, java.io.Writer writer) throws java.lang.Exception
page
- the pagejava.lang.Exception