Package org.webmacro.engine

Classes that implement the core functionality of WebMacro.

See:
          Description

Interface Summary
BlockBuilder.BlockIterator  
Builder  
EvaluationExceptionHandler  
Parser A parser turns an input stream into a BlockBuilder, using any parsing mechanism that it chooses.
 

Class Summary
Argument A predicate is a term passed to a Directive.
Block A Block is essentially a Macro[] that knows how to write itself out as a String.
BlockBuilder A block represents the text between two {}'s in a template, or else the text that begins at the start of the template and runs until its end ({}'s around the whole document are not required).
BuildContext Contains data structures which are manipulated during the builder phase of parsing.
ConstantPropertyVariable Operate on bean properties of a compile-time constant
CrankyEvaluationExceptionHandler CrankyEvaluationExceptionHandler An implementation of EvaluationExceptionHandler which throws an exception whenever it is called.
DebugEvaluationExceptionHandler  
DefaultEvaluationExceptionHandler  
Expression All WM expressions derive from this base class.
Expression.AddBuilder  
Expression.AddOperation  
Expression.AndBuilder  
Expression.AndOperation  
Expression.BinaryOperation  
Expression.BinaryOperationBuilder  
Expression.Compare  
Expression.CompareEq  
Expression.CompareEqBuilder  
Expression.CompareGe  
Expression.CompareGeBuilder  
Expression.CompareGt  
Expression.CompareGtBuilder  
Expression.CompareLe  
Expression.CompareLeBuilder  
Expression.CompareLt  
Expression.CompareLtBuilder  
Expression.CompareNe  
Expression.CompareNeBuilder  
Expression.DivideBuilder  
Expression.DivideOperation  
Expression.ExpressionBase  
Expression.MultiplyBuilder  
Expression.MultiplyOperation  
Expression.NotBuilder  
Expression.NotOperation  
Expression.OrBuilder  
Expression.OrOperation  
Expression.SubtractBuilder  
Expression.SubtractOperation  
Expression.UnaryOperation  
Expression.UnaryOperationBuilder  
FileTemplate FileTemplate objects read their template data from a text file.
FunctionCall Holder for standalone function calls $a($foo)
FunctionCallBuilder Builder for standalone function calls $a($foo)
FunctionVariable  
IntrospectionUtils  
ListBuilder ListBuilder is used for building argument lists to function calls or array initializers.
MacroAdapter Looks like a Macro, but really it's not.
MacroBuildContext A chained build context, for use in expanding macros.
MacroBuilder MacroBuilder.java Represents the invocation of a (C-style) macro, which gets expanded during the building of a template.
MacroDefinition MacroDefinition.java Represents a (C-style) macro, which gets expanded during the building of a template.
MacroPropertyVariable Operate on bean properties of an existing macro; used when a Macro is passed as an argument to a macro
MapBuilder MapBuilder is used during the parsing/building phase of a template to create user defined Map types, using a syntax that is similar to:
MethodWrapper  
NullBuilder  
NullParser This parser eats all of the input and returns nothing.
ParamBuilder  
ParserProvider Utility class to assist in the creation of directives.
PropertyMethodBuilder  
PropertyOperatorCache  
QuotedStringBuilder  
StaticClassWrapper Simple class for wrapping a Class instance of a static class.
StreamTemplate StreamTempaltes are constructed with a stream from which they read their data.
StringMacro  
StringMacroAdapter Looks like a Macro, but really it's a String.
StringTemplate StringTemplate objects read their template data from a string.
TemplateDumper  
TestObject This class exists for testing purposes only
TextParser This parser returns all the input as is
UndefinedMacro Looks like a Macro, but really it's an undefined variable.
Variable A Variable is a reference into a Propertymap.
VariableBuilder  
VoidMacro VoidMacro doesn't output data to the output stream, but will log a debug message (if debugging is turned on) when either of it's methods are called.
WMTemplate Template objects represent the user defined layout into which the webmacro package will substitute values.
 

Exception Summary
BuildException  
IntrospectionException  
ParseException Exception raised on discovery of a parsing error.
 

Package org.webmacro.engine Description

Classes that implement the core functionality of WebMacro. This pacakge contains the heavy lifting: expression evaluation, template locating, and the macro processing.



Copyright © 1999-2006 WebMacro. All Rights Reserved.