com.ail.core.document.model
Class RenderContext
java.lang.Object
com.ail.core.Type
com.ail.core.document.model.RenderContext
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RenderContext
- extends Type
An instance of this class is passed into each invocation of the
ItemData method. The context
define everything the render method needs in order to perform it's function.
- See Also:
- Serialized Form
| Methods inherited from class com.ail.core.Type |
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderContext
public RenderContext(java.io.PrintWriter output,
Type model)
getModel
public Type getModel()
- Get the instance of the model being rendered
- Returns:
- Model to be rendered.
setModel
public void setModel(Type model)
getModel()
- Parameters:
model -
getOutput
public java.io.PrintWriter getOutput()
- Get the PrintWriter which render methods should write their output.
- Returns:
- PrintWriter to output to.
setOutput
public void setOutput(java.io.PrintWriter output)
getOutput()
- Parameters:
output -