|
||||||||||
| 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.JspXmlElement
public class JspXmlElement
Represents a JSP implicit element
| 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 | |
|---|---|
JspXmlElement()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(QName name,
JspAttribute value)
Adds an attribute. |
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
void |
generate(JspJavaWriter out)
Generates the code for the element. |
boolean |
hasNamespace(java.lang.String prefix,
java.lang.String uri)
Returns true if the namespace decl has been printed. |
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 JspXmlElement()
| Method Detail |
|---|
public void addAttribute(QName name,
java.lang.String value)
throws JspParseException
addAttribute in class JspContainerNodename - the name of the attribute.value - the value of the attribute.
JspParseException
public void addAttribute(QName name,
JspAttribute value)
throws JspParseException
addAttribute in class JspContainerNodename - the name of the attribute.value - the value of the attribute.
JspParseException
public boolean hasNamespace(java.lang.String prefix,
java.lang.String uri)
hasNamespace 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 | |||||||||