|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jsp.java.JspNode
com.caucho.jsp.java.JspContainerNode
com.caucho.jsp.java.GenericTag
com.caucho.jsp.java.TagFileTag
public class TagFileTag
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 | |
|---|---|
TagFileTag()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.jsp.java.GenericTag |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagFileTag()
| Method Detail |
|---|
public void endAttributes()
endAttributes in class JspNode
public void endElement()
throws java.lang.Exception
endElement in class GenericTagjava.lang.Exceptionpublic boolean hasCustomTag()
JspContainerNode
hasCustomTag in class JspContainerNode
public void generateTagState(JspJavaWriter out)
throws java.lang.Exception
generateTagState in class JspNodejava.lang.Exception
public void generateDeclaration(JspJavaWriter out)
throws java.io.IOException
generateDeclaration in class JspNodeout - the output writer for the generated java.
java.io.IOExceptionpublic boolean hasTag()
hasTag in class JspContainerNodepublic java.lang.String getTagClassName()
public void generatePrologue(JspJavaWriter out)
throws java.lang.Exception
generatePrologue in class GenericTagjava.lang.Exception
public void generate(JspJavaWriter out)
throws java.lang.Exception
generate in class GenericTagout - 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.Exceptionprotected void addTagDepend()
addTagDepend in class GenericTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||