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.HtmlTagWe could write another CustomTag extending RenderPageArgsTag as well
-
-
Constructor Summary
Constructors Constructor Description CustomTag(java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetFilePath(org.webpieces.templating.impl.GroovyTemplateSuperclass callingTemplate, java.util.Map<java.lang.Object,java.lang.Object> args, java.lang.String srcLocation)java.lang.StringgetName()-
Methods inherited from class org.webpieces.templating.impl.tags.TemplateLoaderTag
initialize, runTag
-
-
-
-
Method Detail
-
getFilePath
protected java.lang.String getFilePath(org.webpieces.templating.impl.GroovyTemplateSuperclass callingTemplate, java.util.Map<java.lang.Object,java.lang.Object> args, java.lang.String srcLocation)- Overrides:
getFilePathin classorg.webpieces.templating.impl.tags.TemplateLoaderTag
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.webpieces.templating.api.HtmlTag- Overrides:
getNamein classorg.webpieces.templating.impl.tags.RenderTagArgsTag
-
-