|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.format.template.AbstractContext
public abstract class AbstractContext
| Field Summary |
|---|
| Fields inherited from interface org.jboss.portal.format.template.Context |
|---|
NULL_CONTEXT |
| Constructor Summary | |
|---|---|
AbstractContext()
|
|
| Method Summary | |
|---|---|
java.util.Iterator |
childIterator(java.lang.String name)
get an iterator for the nested/loop data contexts |
java.lang.String |
get(java.lang.String o)
get the template data from the context |
Context |
put(java.lang.String key,
java.lang.String value)
add data to be rendered in the template through variable substitution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractContext()
| Method Detail |
|---|
public java.util.Iterator childIterator(java.lang.String name)
Context
childIterator in interface Contextname - template variable prefix name
public java.lang.String get(java.lang.String o)
Context
get in interface Contexto - template variable name
public Context put(java.lang.String key,
java.lang.String value)
Context
put in interface Contextkey - template variable namevalue - value to render in template
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||