Class CustomTag

java.lang.Object
org.webpieces.templating.impl.tags.TemplateLoaderTag
org.webpieces.templating.impl.tags.RenderTagArgsTag
org.webpieces.templating.impl.tags.CustomTag
All Implemented Interfaces:
org.webpieces.ctx.api.extension.Tag, org.webpieces.templating.api.HtmlTag

public class CustomTag extends org.webpieces.templating.impl.tags.RenderTagArgsTag implements org.webpieces.templating.api.HtmlTag
We could write another CustomTag extending RenderPageArgsTag as well
  • Field Summary

    Fields inherited from class org.webpieces.templating.impl.tags.TemplateLoaderTag

    svc
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getFilePath(org.webpieces.templating.impl.GroovyTemplateSuperclass callingTemplate, Map<Object,Object> args, String srcLocation)
     
     

    Methods inherited from class org.webpieces.templating.impl.tags.RenderTagArgsTag

    convertTagArgs

    Methods inherited from class org.webpieces.templating.impl.tags.TemplateLoaderTag

    initialize, runTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.webpieces.templating.api.HtmlTag

    runTag
  • Constructor Details

    • CustomTag

      public CustomTag(String file)
  • Method Details

    • getFilePath

      protected String getFilePath(org.webpieces.templating.impl.GroovyTemplateSuperclass callingTemplate, Map<Object,Object> args, String srcLocation)
      Overrides:
      getFilePath in class org.webpieces.templating.impl.tags.TemplateLoaderTag
    • getName

      public String getName()
      Specified by:
      getName in interface org.webpieces.templating.api.HtmlTag
      Overrides:
      getName in class org.webpieces.templating.impl.tags.RenderTagArgsTag