com.caucho.jsp.java
Class JstlCoreChoose

java.lang.Object
  extended by com.caucho.jsp.java.JspNode
      extended by com.caucho.jsp.java.JspContainerNode
          extended by com.caucho.jsp.java.JstlNode
              extended by com.caucho.jsp.java.JstlCoreChoose

public class JstlCoreChoose
extends JstlNode


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
JstlCoreChoose()
           
 
Method Summary
 void addChild(JspNode node)
          Children are handled specially.
 JspNode addText(java.lang.String text)
          Whitespace text is ignored.
 void endElement()
          Validity checking.
 void generate(JspJavaWriter out)
          Generates the code for the c:out tag.
 void printXml(WriteStream os)
          Generates the XML text representation for the tag validation.
 
Methods inherited from class com.caucho.jsp.java.JstlNode
addAttribute, generateSetNotNull, generateSetOrRemove, isJstl
 
Methods inherited from class com.caucho.jsp.java.JspContainerNode
addAttribute, addAttributeChild, addChildEnd, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasCustomTag, hasScripting, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildren
 
Methods inherited from class com.caucho.jsp.java.JspNode
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, error, error, error, escapeJavaString, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologue, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, getCustomTagName, getEndAttributeLine, getEndLine, getFilename, getGenerator, getJsfBodyVar, getJsfVar, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, getTag, getTagName, hasDeferredAttribute, hasDeferredAttribute, hasELAttribute, hasELAttribute, hasNamespace, hasNamespace, hasRuntimeAttribute, hasScripting, hasScripting, invokeFragment, isInFragment, isJsp21, isPre21Taglib, isSimpleTag, isStatic, loadClass, printJspId, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JstlCoreChoose

public JstlCoreChoose()
Method Detail

addChild

public void addChild(JspNode node)
              throws JspParseException
Children are handled specially.

Overrides:
addChild in class JspContainerNode
Throws:
JspParseException

addText

public JspNode addText(java.lang.String text)
                throws JspParseException
Whitespace text is ignored.

Overrides:
addText in class JspContainerNode
Throws:
JspParseException

endElement

public void endElement()
                throws JspParseException
Validity checking.

Overrides:
endElement in class JspNode
Throws:
JspParseException

printXml

public void printXml(WriteStream os)
              throws java.io.IOException
Generates the XML text representation for the tag validation.

Specified by:
printXml in class JspNode
Parameters:
os - write stream to the generated XML.
Throws:
java.io.IOException

generate

public void generate(JspJavaWriter out)
              throws java.lang.Exception
Generates the code for the c:out tag.

Specified by:
generate in class JspNode
Parameters:
out - the output writer for the generated java.
Throws:
java.lang.Exception