All Packages Class Hierarchy This Package Previous Next Index
Interface org.webmacro.engine.Macro
- public abstract interface Macro
- extends PropertyReference
Directives, variables, macro calls, blocks, conditions, text, etc., all
have this as their supertype.
-
evaluate(Object)
- same as out but returns a String
-
write(Writer, Object)
- Interpret the directive and write it out, using the values in
the supplied context as appropriate.
write
public abstract void write(Writer out,
Object context) throws InvalidContextException, IOException
- Interpret the directive and write it out, using the values in
the supplied context as appropriate.
- Throws: InvalidContextException
- if required data was missing from context
- Throws: IOException
- if we could not successfully write to out
evaluate
public abstract Object evaluate(Object context) throws InvalidContextException
- same as out but returns a String
- Throws: InvalidContextException
- if required data was missing from context
All Packages Class Hierarchy This Package Previous Next Index