|
||||||||||
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.JsfFacetNode
public class JsfFacetNode
Special generator for a JSF f:facet 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, _ns, _parent, _parseState, _sourcePath, _startLine |
Constructor Summary | |
---|---|
JsfFacetNode()
|
Method Summary | |
---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
void |
generate(JspJavaWriter out)
Generates the code for the c:if tag. |
java.lang.String |
getJsfBodyVar()
Returns the variable containing the jsf body |
java.lang.String |
getJsfVar()
Returns the variable containing the jsf component |
java.lang.String |
getName()
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
Methods inherited from class com.caucho.jsp.java.JsfNode |
---|
addAttribute, findSetter, generateChildren, generatePrologue, hasBodyContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsfFacetNode()
Method Detail |
---|
public java.lang.String getName()
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JsfNode
name
- the name of the attribute.value
- the value of the attribute.
JspParseException
public java.lang.String getJsfVar()
getJsfVar
in class JsfNode
public java.lang.String getJsfBodyVar()
getJsfBodyVar
in class JsfNode
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 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 |