railo.runtime.tag
Class CFTag
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.ext.tag.BodyTagTryCatchFinallyImpl
railo.runtime.tag.CFTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally, AppendixTag, DynamicAttributes
- Direct Known Subclasses:
- CFImportTag, CFTagCore, Module
public class CFTag
- extends BodyTagTryCatchFinallyImpl
- implements DynamicAttributes, AppendixTag
Creates a CFML Custom Tag
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Constructor Summary |
CFTag()
constructor for the tag class |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
CFTag
public CFTag()
- constructor for the tag class
setDynamicAttribute
public void setDynamicAttribute(String uri,
String name,
Object value)
- Specified by:
setDynamicAttribute
in interface DynamicAttributes
- Parameters:
uri
- the namespace of the attribute, or null if in the default namespace.name
- the name of the attribute being set.value
- the value of the attribute
setDynamicAttribute
public void setDynamicAttribute(String uri,
Collection.Key name,
Object value)
- Specified by:
setDynamicAttribute
in interface DynamicAttributes
- Parameters:
uri
- the namespace of the attribute, or null if in the default namespace.name
- the name of the attribute being set.value
- the value of the attribute
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagImpl
setAppendix
public void setAppendix(String appendix)
- sets the appendix of the class
- Specified by:
setAppendix
in interface AppendixTag
- Parameters:
appendix
-
doStartTag
public int doStartTag()
throws PageException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- Throws:
PageException
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
doInitBody
public void doInitBody()
- Specified by:
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
- Overrides:
doInitBody
in class BodyTagImpl
doAfterBody
public int doAfterBody()
throws PageException
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class BodyTagImpl
- Throws:
PageException
doCatch
public void doCatch(Throwable t)
throws Throwable
- Specified by:
doCatch
in interface javax.servlet.jsp.tagext.TryCatchFinally
- Overrides:
doCatch
in class BodyTagTryCatchFinallyImpl
- Throws:
Throwable
initFile
public InitFile initFile(PageContext pageContext)
throws PageException
- Throws:
PageException
_doCFCCatch
public void _doCFCCatch(Throwable t,
String source)
throws PageException
- Throws:
PageException
hasBody
public void hasBody(boolean hasBody)
- sets if tag has a body or not
- Parameters:
hasBody
-
getAppendix
public String getAppendix()
- Specified by:
getAppendix
in interface AppendixTag
- Returns:
- Returns the appendix.
getThis
public Struct getThis()
- Returns:
- return thistag
getCallerScope
public Struct getCallerScope()
- Returns:
- return thistag
getAttributesScope
public Struct getAttributesScope()
- Returns:
- return thistag
getVariablesScope
public Struct getVariablesScope()
- Returns:
- the ctVariablesScope
getComponent
public Component getComponent()
- Returns:
- the cfc
isCFCBasedCustomTag
public boolean isCFCBasedCustomTag()
Copyright © 2012 Railo