Uses of Interface
org.stringtree.template.pattern.TemplatePatternHandler

Packages that use TemplatePatternHandler
org.stringtree.template   
org.stringtree.template.pattern   
 

Uses of TemplatePatternHandler in org.stringtree.template
 

Fields in org.stringtree.template declared as TemplatePatternHandler
private  TemplatePatternHandler[] RecursiveTemplater.handlers
           
 

Uses of TemplatePatternHandler in org.stringtree.template.pattern
 

Classes in org.stringtree.template.pattern that implement TemplatePatternHandler
 class AssignmentPatternHandler
          recognize patterns of the form: name=value -> return "" As a side effect, set the context value "name" to value
 class 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'
 class 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}
 class 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}
 class PeelbackPatternHandler
           
 class PipePatternHandler
           
 class 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}