|
||||||||||
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.JspFragmentNode
com.caucho.jsp.java.JspBody
public class JspBody
Represents the body for a SimpleTag
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 | |
---|---|
JspBody()
|
Method Summary | |
---|---|
JspNode |
addText(java.lang.String text)
Adds a text node. |
void |
endAttributes()
Called after all the attributes from the tag. |
void |
generatePrologue(JspJavaWriter out)
Generates the prologue. |
void |
generatePrologueChildren(JspJavaWriter out)
Generates the prologue as a child, i.e. |
java.lang.String |
getCustomTagName()
Returns the tag name for the current tag. |
TagInstance |
getTag()
Returns the TagInstance of the enclosing parent. |
boolean |
isStatic()
Returns true if the children are static. |
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation. |
Methods inherited from class com.caucho.jsp.java.JspFragmentNode |
---|
generate, generateFragmentPrologue, generateValue, getFragmentCode, getFragmentName, isJspFragment, isTrim, isValueFragment, setJspFragment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JspBody()
Method Detail |
---|
public JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspFragmentNode
JspParseException
public java.lang.String getCustomTagName()
getCustomTagName
in class JspFragmentNode
public boolean isStatic()
isStatic
in class JspFragmentNode
public TagInstance getTag()
getTag
in class JspNode
public void endAttributes() throws JspParseException
endAttributes
in class JspFragmentNode
JspParseException
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 generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JspNode
java.lang.Exception
public void generatePrologueChildren(JspJavaWriter out) throws java.lang.Exception
generatePrologueChildren
in class JspContainerNode
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |