|
||||||||||
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
public abstract class JspFragmentNode
Represents the body for a fragment (jsp:attribute or jsp:body)
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 | |
---|---|
JspFragmentNode()
|
Method Summary | |
---|---|
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 children. |
void |
generateFragmentPrologue(JspJavaWriter out)
Generates code for the fragment variables. |
protected java.lang.String |
generateValue()
Generates the code for a fragment. |
java.lang.String |
getCustomTagName()
Returns the tag name for the current tag. |
int |
getFragmentCode()
|
java.lang.String |
getFragmentName()
Returns the fragment name. |
boolean |
isJspFragment()
Set true if the fragment is used as a fragment object. |
boolean |
isStatic()
Returns true if the children are static. |
boolean |
isTrim()
Returns true if trimming is enabled. |
boolean |
isValueFragment()
Returns true if the children are static. |
void |
setJspFragment(boolean isFragment)
Set true if the fragment is used as a fragment object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JspFragmentNode()
Method Detail |
---|
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public java.lang.String getFragmentName()
public java.lang.String getCustomTagName()
getCustomTagName
in class JspNode
public JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspContainerNode
JspParseException
public boolean isTrim()
public boolean isStatic()
isStatic
in class JspNode
public boolean isValueFragment()
public int getFragmentCode()
public void setJspFragment(boolean isFragment)
public boolean isJspFragment()
public void generateFragmentPrologue(JspJavaWriter out) throws java.lang.Exception
java.lang.Exception
public void generate(JspJavaWriter out) throws java.lang.Exception
generate
in class JspNode
out
- the output writer for the generated java.
java.lang.Exception
protected java.lang.String generateValue() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |