|
||||||||||
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.CustomSimpleTag
public class CustomSimpleTag
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 | |
---|---|
CustomSimpleTag()
|
Method Summary | |
---|---|
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. |
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 CustomSimpleTag()
Method Detail |
---|
public boolean isReuse()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |