|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.directive.Directive
org.webmacro.directive.GlobalDirective
Implements a directive supporting a global value.
Nested Class Summary |
Field Summary |
Fields inherited from class org.webmacro.directive.Directive |
ArgType_ARGLIST, ArgType_ASSIGN, ArgType_BLOCK, ArgType_CHOICE, ArgType_CONDITION, ArgType_GROUP, ArgType_KEYWORD, ArgType_LITBLOCK, ArgType_LVALUE, ArgType_NAME, ArgType_QUOTEDSTRING, ArgType_RVALUE, ArgType_STRING, ArgType_SUBDIRECTIVE |
Constructor Summary | |
GlobalDirective()
|
Method Summary | |
java.lang.Object |
build(DirectiveBuilder builder,
BuildContext bc)
Directives must implement a build() method. |
static DirectiveDescriptor |
getDescriptor()
|
void |
write(FastWriter out,
Context context)
Interpret the directive and write it out, using the values in the supplied context as appropriate. |
Methods inherited from class org.webmacro.directive.Directive |
accept, evaluate, getWarningText, writeWarning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GlobalDirective()
Method Detail |
public static DirectiveDescriptor getDescriptor()
public java.lang.Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException
Directive
build
in class Directive
BuildException
public void write(FastWriter out, Context context) throws PropertyException, java.io.IOException
Macro
java.io.IOException
- if we could not successfully write to out
PropertyException
- if required data was missing from context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |