|
||||||||||
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.JspDeclaration
public class JspDeclaration
Represents a Java declaration.
Field Summary |
---|
Fields inherited from class com.caucho.jsp.java.JspNode |
---|
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine |
Constructor Summary | |
---|---|
JspDeclaration()
|
Method Summary | |
---|---|
JspNode |
addText(java.lang.String text)
Adds text to the directive. |
void |
endElement()
Completes the scriptlet. |
void |
generate(JspJavaWriter out)
No general code. |
void |
generateDeclaration(JspJavaWriter out)
Generates the code for the scriptlet |
boolean |
hasScripting()
Returns true for a scripting element. |
boolean |
hasScriptingElement()
True if the node has scripting element (i.e. |
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 JspDeclaration()
Method Detail |
---|
public JspNode addText(java.lang.String text)
addText
in class JspNode
public void endElement() throws JspParseException
endElement
in class JspNode
JspParseException
public boolean hasScripting()
hasScripting
in class JspNode
public boolean hasScriptingElement()
hasScriptingElement
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 generateDeclaration(JspJavaWriter out) throws java.io.IOException
generateDeclaration
in class JspNode
out
- the output writer for the generated java.
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 |