class DVSLContext
extends org.apache.velocity.VelocityContext
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
contextList |
protected java.util.Map |
ctx |
private java.util.Stack |
nodeStack
Used to hold the nodes as we get invoked from
within the document for applyTemplates() duties
|
protected org.apache.velocity.context.Context |
styleContext |
| Constructor and Description |
|---|
DVSLContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(org.apache.velocity.context.Context c) |
void |
clearContexts() |
void |
clearNode() |
boolean |
internalContainsKey(java.lang.Object key)
determines if there is a value for the
given key
|
java.lang.Object |
internalGet(java.lang.String key)
retrieves value for key from internal
storage
|
java.lang.Object[] |
internalGetKeys()
returns array of keys
$$$ GMJ todo
|
java.lang.Object |
internalPut(java.lang.String key,
java.lang.Object value)
stores the value for key to internal
storage
|
java.lang.Object |
internalRemove(java.lang.Object key)
remove a key/value pair from the
internal storage
|
DVSLNode |
peekNode() |
DVSLNode |
popNode() |
DVSLNode |
pushNode(DVSLNode n) |
void |
setStyleContext(org.apache.velocity.context.Context c) |
protected org.apache.velocity.context.Context styleContext
protected java.util.List contextList
private java.util.Stack nodeStack
protected java.util.Map ctx
public DVSLNode peekNode()
public DVSLNode popNode()
public void clearNode()
public void clearContexts()
public void addContext(org.apache.velocity.context.Context c)
public void setStyleContext(org.apache.velocity.context.Context c)
public java.lang.Object internalGet(java.lang.String key)
internalGet in class org.apache.velocity.VelocityContextkey - name of value to getpublic java.lang.Object internalPut(java.lang.String key,
java.lang.Object value)
internalPut in class org.apache.velocity.VelocityContextkey - name of value to storevalue - value to storepublic boolean internalContainsKey(java.lang.Object key)
internalContainsKey in class org.apache.velocity.VelocityContextkey - name of value to checkpublic java.lang.Object[] internalGetKeys()
internalGetKeys in class org.apache.velocity.VelocityContextpublic java.lang.Object internalRemove(java.lang.Object key)
internalRemove in class org.apache.velocity.VelocityContextkey - name of value to removeCopyright (c) 2001-2007 Apache Software Foundation