public class TagFileTag extends GenericTag
_tag, _tagClass, _tagInfo, _varInfo
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
TagFileTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagDepend() |
void |
endAttributes()
Called when the attributes end.
|
void |
endElement()
Adds a child node.
|
java.lang.String |
fillTagFileAttributes(JspJavaWriter out,
java.lang.String tagName,
java.lang.String customTagName) |
void |
generate(JspJavaWriter out)
Generates the code for a custom tag.
|
void |
generateDeclaration(JspJavaWriter out)
Generates the code for a custom tag.
|
void |
generatePrologue(JspJavaWriter out)
Generates code before the actual JSP.
|
void |
generateTagState(JspJavaWriter out)
Generates code before the actual JSP.
|
java.lang.String |
getTagClassName()
Returns null, since tag files aren't parent tags.
|
boolean |
hasCustomTag()
Set true if the node contains a child tag.
|
boolean |
hasTag()
Returns true if the tag file invocation contains a child tag.
|
addChild, fillAttributes, fillVariableInfo, generateClassEpilogue, generatePrologueDeclare, getBodyContent, getCustomTagName, getJsfBodyVar, getJsfVar, getTag, getTagInfo, getVarInfo, hasScripting, hasScriptlet, hasVarDeclaration, isDeclared, isDeclaringInstance, isJsfParentRequired, isJsp21, isJstl, isPre21Taglib, isReuse, isSimple, printVarAssign, printVarAssign, printVarDeclaration, printVarDeclare, printVarDeclare, printXml, setTagClass, setTagInfo, validateClass
addAttribute, addAttribute, addAttributeChild, addChildEnd, addText, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasScriptingElement, isChildrenStatic, isEmpty, isSingleExpression, isWhitespace, printXmlChildren
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, error, error, error, escapeJavaString, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generateStartLocation, generateTagRelease, getEndAttributeLine, getEndLine, getFilename, getGenerator, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, getTagName, hasDeferredAttribute, hasDeferredAttribute, hasELAttribute, hasELAttribute, hasNamespace, hasNamespace, hasRuntimeAttribute, hasScripting, hasScripting, invokeFragment, isInFragment, isSimpleTag, isStatic, loadClass, printJspId, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
public void endAttributes()
endAttributes
in class JspNode
public void endElement() throws java.lang.Exception
endElement
in class GenericTag
java.lang.Exception
public boolean hasCustomTag()
JspContainerNode
hasCustomTag
in class JspContainerNode
public void generateTagState(JspJavaWriter out) throws java.lang.Exception
generateTagState
in class JspNode
java.lang.Exception
public void generateDeclaration(JspJavaWriter out) throws java.io.IOException
generateDeclaration
in class JspNode
out
- the output writer for the generated java.java.io.IOException
public boolean hasTag()
hasTag
in class JspContainerNode
public java.lang.String getTagClassName()
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class GenericTag
java.lang.Exception
public void generate(JspJavaWriter out) throws java.lang.Exception
generate
in class GenericTag
out
- the output writer for the generated java.java.lang.Exception
public java.lang.String fillTagFileAttributes(JspJavaWriter out, java.lang.String tagName, java.lang.String customTagName) throws java.lang.Exception
java.lang.Exception
protected void addTagDepend()
addTagDepend
in class GenericTag