|
||||||||||
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.JstlNode
com.caucho.jsp.java.JstlCoreWhen
public class JstlCoreWhen
Special generator for a JSTL c:when tag.
Field Summary |
---|
Fields inherited from class com.caucho.jsp.java.JstlNode |
---|
JSTL_CORE_NS, JSTL_FMT_NS, JSTL_XML_NS |
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 | |
---|---|
JstlCoreWhen()
|
Method Summary | |
---|---|
void |
addAttribute(QName name,
JspAttribute value)
Adds an attribute. |
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute. |
void |
endAttributes()
Called after all the attributes from the tag. |
void |
endElement()
Called after the element from the tag. |
void |
generate(JspJavaWriter out)
Generates the code for the c:if tag. |
boolean |
hasScripting()
Returns true if the tag has scripting values. |
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
Methods inherited from class com.caucho.jsp.java.JstlNode |
---|
generateSetNotNull, generateSetOrRemove, isJstl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JstlCoreWhen()
Method Detail |
---|
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JstlNode
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 endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public void endElement() throws JspParseException
endElement
in class JspNode
JspParseException
public boolean hasScripting()
hasScripting
in class JspContainerNode
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |