|
||||||||||
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.JsfNode
com.caucho.jsp.java.JsfTagNode
public class JsfTagNode
Represents a custom tag.
Field Summary |
---|
Fields inherited from class com.caucho.jsp.java.JsfNode |
---|
_bodyVar, _var |
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 | |
---|---|
JsfTagNode()
|
Method Summary | |
---|---|
void |
addAttribute(QName qName,
JspAttribute value)
Adds a JspAttribute attribute. |
void |
addAttribute(QName qName,
java.lang.String value)
Adds an attribute. |
void |
endAttributes()
Called after all the attributes from the tag. |
void |
endElement()
Called when the tag closes. |
void |
generate(JspJavaWriter out)
Generates the code for a custom tag. |
void |
generatePrologue(JspJavaWriter out)
generates prologue data. |
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
void |
setComponentClass(java.lang.Class cl)
|
void |
setNext(JspNode next)
|
Methods inherited from class com.caucho.jsp.java.JsfNode |
---|
findSetter, generateChildren, getJsfBodyVar, getJsfVar, hasBodyContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsfTagNode()
Method Detail |
---|
public void setComponentClass(java.lang.Class cl)
public void setNext(JspNode next)
public void addAttribute(QName qName, java.lang.String value) throws JspParseException
addAttribute
in class JsfNode
qName
- the name of the attribute.value
- the value of the attribute.
JspParseException
public void addAttribute(QName qName, JspAttribute value) throws JspParseException
addAttribute
in class JsfNode
qName
- the name of the attribute.value
- the value of the attribute.
JspParseException
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public void endElement()
JspNode
endElement
in class JspNode
public void printXml(WriteStream os) throws java.io.IOException
printXml
in class JspNode
os
- write stream to the generated XML.
java.io.IOException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JsfNode
java.lang.Exception
public void generate(JspJavaWriter out) throws java.lang.Exception
generate
in class JspNode
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 |