com.caucho.jsp.java
Class CustomTag

java.lang.Object
  extended by com.caucho.jsp.java.JspNode
      extended by com.caucho.jsp.java.JspContainerNode
          extended by com.caucho.jsp.java.GenericTag
              extended by com.caucho.jsp.java.CustomTag
Direct Known Subclasses:
JstlTlvCoreChoose, JstlTlvCoreOtherwise, JstlTlvCoreWhen, JstlTlvSqlUpdate, JstlTlvXmlChoose, JstlTlvXmlOtherwise, JstlTlvXmlWhen

public class CustomTag
extends GenericTag

Represents a custom tag.


Field Summary
 
Fields inherited from class com.caucho.jsp.java.GenericTag
_tag, _tagClass, _tagInfo, _varInfo
 
Fields inherited from class com.caucho.jsp.java.JspContainerNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
 
Fields inherited from class com.caucho.jsp.java.JspNode
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
 
Constructor Summary
CustomTag()
           
 
Method Summary
 void generate(JspJavaWriter out)
          Generates the code for a custom tag.
 void generateTagRelease(JspJavaWriter out)
          Generates code before the actual JSP.
 void generateTagState(JspJavaWriter out)
          Generates code before the actual JSP.
 
Methods inherited from class com.caucho.jsp.java.GenericTag
addChild, addTagDepend, endElement, fillAttributes, fillVariableInfo, generateClassEpilogue, generatePrologue, 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
 
Methods inherited from class com.caucho.jsp.java.JspContainerNode
addAttribute, addAttribute, addAttributeChild, addChildEnd, addText, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasCustomTag, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isSingleExpression, isWhitespace, printXmlChildren
 
Methods inherited from class com.caucho.jsp.java.JspNode
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, error, error, error, escapeJavaString, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generateStartLocation, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomTag

public CustomTag()
Method Detail

generateTagState

public void generateTagState(JspJavaWriter out)
                      throws java.lang.Exception
Generates code before the actual JSP.

Overrides:
generateTagState in class JspNode
Throws:
java.lang.Exception

generateTagRelease

public void generateTagRelease(JspJavaWriter out)
                        throws java.lang.Exception
Generates code before the actual JSP.

Overrides:
generateTagRelease in class JspNode
Throws:
java.lang.Exception

generate

public void generate(JspJavaWriter out)
              throws java.lang.Exception
Generates the code for a custom tag.

Specified by:
generate in class GenericTag
Parameters:
out - the output writer for the generated java.
Throws:
java.lang.Exception