Class GroovyTemplateSuperclass

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.webpieces.templating.impl.GroovyTemplateSuperclass
All Implemented Interfaces:
groovy.lang.GroovyObject

public abstract class GroovyTemplateSuperclass extends groovy.lang.Script
  • Field Details

  • Constructor Details

    • GroovyTemplateSuperclass

      public GroovyTemplateSuperclass()
  • Method Details

    • initialize

      public void initialize(EscapeCharactersFormatter f, HtmlTagLookup tagLookup, Map<Object,Object> setTagProps, RouterLookup urlLookup)
    • useFormatter

      public String useFormatter(Object val)
    • runTag

      protected void runTag(String tagName, Map<Object,Object> args, groovy.lang.Closure<?> closure, String srcLocation)
    • runClosure

      protected String runClosure(String tagName, groovy.lang.Closure<?> closure, String srcLocation)
    • putSetTagProperty

      public void putSetTagProperty(Object key, Object val)
    • getSetTagProperty

      public Object getSetTagProperty(Object key)
    • setSuperTemplateFilePath

      public void setSuperTemplateFilePath(String path)
    • getSuperTemplateFilePath

      public String getSuperTemplateFilePath()
    • getSetTagProperties

      public Map<Object,Object> getSetTagProperties()
    • fetchUrl

      public String fetchUrl(String routeId, Map<?,?> args, String srcLocation)
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
      Overrides:
      setProperty in class groovy.lang.Script
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
      Overrides:
      getProperty in class groovy.lang.Script
    • getMessage

      public String getMessage(Object... args)
    • enterExpression

      public void enterExpression(String srcLocation)
    • exitExpression

      public void exitExpression()
    • modifySourceLocation2

      public static String modifySourceLocation2(String srcLocation)