|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.engine.UndefinedMacro
Looks like a Macro, but really it's an undefined variable.
Method Summary | |
void |
accept(TemplateVisitor v)
|
java.lang.Object |
evaluate(Context context)
Returns the wrapped object, context is ignored. |
java.lang.Object |
get(java.lang.Object key)
|
static UndefinedMacro |
getInstance()
|
java.lang.String |
toString()
|
void |
write(FastWriter out,
Context context)
Throws an exception -- cannot write an undefined |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static UndefinedMacro getInstance()
public final java.lang.String toString()
public void accept(TemplateVisitor v)
accept
in interface Visitable
public final java.lang.Object evaluate(Context context)
evaluate
in interface Macro
public java.lang.Object get(java.lang.Object key)
public final void write(FastWriter out, Context context) throws PropertyException
write
in interface Macro
PropertyException
- if required data was missing from context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |