|
||||||||||
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.JspParam
public class JspParam
Represents a Java scriptlet.
Field Summary |
---|
Fields inherited from class com.caucho.jsp.java.JspNode |
---|
_endAttributeLine, _endLine, _filename, _gen, _ns, _parent, _parseState, _sourcePath, _startLine |
Constructor Summary | |
---|---|
JspParam()
|
Method Summary | |
---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
void |
endElement()
Called when the tag closes. |
void |
generate(JspJavaWriter out)
Generates the code for the scriptlet |
void |
generateEmpty()
Generates the code for the scriptlet |
java.lang.String |
getName()
Returns the param name. |
java.lang.String |
getValue()
Returns the param value. |
boolean |
hasScripting()
Returns true if the param has scripting elements. |
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JspParam()
Method Detail |
---|
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JspNode
JspParseException
public java.lang.String getName()
public java.lang.String getValue()
public void endElement() throws java.lang.Exception
endElement
in class JspNode
java.lang.Exception
public boolean hasScripting()
hasScripting
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 generate(JspJavaWriter out) throws java.lang.Exception
generate
in class JspNode
out
- the output writer for the generated java.
java.lang.Exception
public void generateEmpty() throws java.lang.Exception
generateEmpty
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 |