|
||||||||||
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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |