|
||||||||||
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
public abstract class JsfNode
Field Summary | |
---|---|
protected java.lang.String |
_bodyVar
|
protected java.lang.String |
_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 | |
---|---|
JsfNode()
|
Method Summary | |
---|---|
void |
addAttribute(QName name,
JspAttribute value)
Adds a JspAttribute attribute. |
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
protected java.lang.reflect.Method |
findSetter(java.lang.Class cl,
java.lang.String name)
|
void |
generateChildren(JspJavaWriter out)
Generates the code for the children. |
void |
generatePrologue(JspJavaWriter out)
generates prologue data. |
java.lang.String |
getJsfBodyVar()
Returns the variable containing the jsf body |
java.lang.String |
getJsfVar()
Returns the variable containing the jsf parent |
protected boolean |
hasBodyContent()
Generates the code for the children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String _var
protected java.lang.String _bodyVar
Constructor Detail |
---|
public JsfNode()
Method Detail |
---|
public java.lang.String getJsfVar()
getJsfVar
in class JspNode
public java.lang.String getJsfBodyVar()
getJsfBodyVar
in class JspNode
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the name of the attribute.value
- the value of the attribute.
JspParseException
public void addAttribute(QName name, JspAttribute value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the name of the attribute.value
- the value of the attribute.
JspParseException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JspNode
java.lang.Exception
public void generateChildren(JspJavaWriter out) throws java.lang.Exception
generateChildren
in class JspContainerNode
out
- the output writer for the generated java.
java.lang.Exception
protected boolean hasBodyContent() throws java.lang.Exception
out
- the output writer for the generated java.
java.lang.Exception
protected java.lang.reflect.Method findSetter(java.lang.Class cl, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |