public class CustomSimpleTag extends GenericTag
_tag, _tagClass, _tagInfo, _varInfo
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
CustomSimpleTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagDepend() |
void |
endAttributes()
Called when the attributes end.
|
void |
endElement()
Adds a child node.
|
void |
generate(JspJavaWriter out)
Generates the code for a custom tag.
|
void |
generatePrologue(JspJavaWriter out)
Generates code before the actual JSP.
|
boolean |
hasCustomTag()
Set true if the node contains a child tag.
|
boolean |
isReuse()
Simple tags can't be reused.
|
addChild, fillAttributes, fillVariableInfo, generateClassEpilogue, generatePrologueDeclare, getBodyContent, getCustomTagName, getJsfBodyVar, getJsfVar, getTag, getTagInfo, getVarInfo, hasScripting, hasScriptlet, hasVarDeclaration, isDeclared, isDeclaringInstance, isJsfParentRequired, isJsp21, isJstl, isPre21Taglib, 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, hasTag, isChildrenStatic, isEmpty, isSingleExpression, isWhitespace, printXmlChildren
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, error, error, error, escapeJavaString, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generateStartLocation, generateTagRelease, generateTagState, 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 boolean isReuse()
isReuse
in class GenericTag
protected void addTagDepend()
addTagDepend
in class GenericTag
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public void endElement() throws java.lang.Exception
endElement
in class GenericTag
java.lang.Exception
public boolean hasCustomTag()
hasCustomTag
in class JspContainerNode
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