Package org.stringtree.template.pattern

Interface Summary
TemplatePatternHandler  
 

Class Summary
AssignmentPatternHandler recognize patterns of the form: name=value -> return "" As a side effect, set the context value "name" to value
IndirectPatternHandler recognize patterns of the form: '@text' -> return the result of expanding the template named in value 'text' '^text' -> return the result of looking up the value named in value 'text'
IteratingPatternHandler recognize patterns of the forms: * template -> expand named template item * template -> push (each element of) item into "this" and expand named template item * template / sep -> push (each element of) item into "this" and expand named template separated by ${sep} item * / sep -> insert (each element of) item separated by ${sep}
LiteralPatternHandler recognize patterns of the form: 'text' -> return the value of the text Note that text must not contain '}/*?: If you need to, then place the text in a separate template, and include with ${*tpl}
PeelbackPatternHandler  
PipePatternHandler  
PresentAbsentPatternHandler recognize patterns of the forms: item ? present -> if item is present, lookup ${present} item : absent -> if item is absent, lookup ${absent} item ? present : absent -> if item is present, lookup ${present} if item is absent, lookup ${absent} item ?: absent -> if item is present, lookup ${item} if item is absent, lookup ${absent}