|
||||||||||
| 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.JspRoot
public class JspRoot
Represents the root node.
| Field Summary |
|---|
| 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 | |
|---|---|
JspRoot()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
void |
addChild(JspNode node)
Adds a child node. |
void |
addNamespaceRec(java.lang.String prefix,
java.lang.String value)
Adds a namespace, e.g. |
JspNode |
addText(java.lang.String text)
Adds a text node. |
void |
endAttributes()
Called after all the attributes from the tag. |
void |
generate(JspJavaWriter out)
Generates the code for the tag |
java.lang.String |
getNamespacePrefix(java.lang.String uri)
Adds a namespace, e.g. |
boolean |
isStatic()
Set true if the node only has static text. |
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
void |
setVersion(java.lang.String version)
Sets the versino. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JspRoot()
| Method Detail |
|---|
public void setVersion(java.lang.String version)
public void addAttribute(QName name,
java.lang.String value)
throws JspParseException
addAttribute in class JspContainerNodename - the attribute namevalue - the attribute value
JspParseException
public JspNode addText(java.lang.String text)
throws JspParseException
addText in class JspContainerNodeJspParseException
public void endAttributes()
throws JspParseException
endAttributes in class JspNodeJspParseException
public void addChild(JspNode node)
throws JspParseException
addChild in class JspContainerNodeJspParseException
public void addNamespaceRec(java.lang.String prefix,
java.lang.String value)
addNamespaceRec in class JspNodepublic java.lang.String getNamespacePrefix(java.lang.String uri)
getNamespacePrefix in class JspNodepublic boolean isStatic()
isStatic in class JspNode
public void printXml(WriteStream os)
throws java.io.IOException
printXml in class JspNodeos - write stream to the generated XML.
java.io.IOException
public void generate(JspJavaWriter out)
throws java.lang.Exception
generate in class JspNodeout - 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 | |||||||||