| java.lang.Object com.caucho.jsp.java.JspNode com.caucho.jsp.java.StaticText
StaticText | public class StaticText extends JspNode (Code) | | Represents static text.
|
generate | public void generate(JspJavaWriter out) throws Exception(Code) | | Generates the code for the static text
Parameters: out - the output writer for the generated java. |
generateStatic | public void generateStatic(JspJavaWriter out) throws Exception(Code) | | Generates the code for the static text
Parameters: out - the output writer for the generated java. |
getStaticText | public void getStaticText(CharBuffer cb)(Code) | | Returns the static text.
|
isStatic | public boolean isStatic()(Code) | | Return true if the node only has static text.
|
isWhitespace | public boolean isWhitespace()(Code) | | Returns true if whitespace.
|
printXml | public void printXml(WriteStream os) throws IOException(Code) | | Generates the XML text representation for the tag validation.
Parameters: os - write stream to the generated XML. |
setText | public void setText(String text)(Code) | | sets the text.
|
Methods inherited from com.caucho.jsp.java.JspNode | public void addAttribute(QName name, String value) throws JspParseException(Code)(Java Doc) public void addAttribute(QName name, JspAttribute value) throws JspParseException(Code)(Java Doc) public void addChild(JspNode node) throws JspParseException(Code)(Java Doc) public void addChildEnd(JspNode node) throws JspParseException(Code)(Java Doc) final public void addNamespace(String prefix, String value)(Code)(Java Doc) public void addNamespaceRec(String prefix, String value)(Code)(Java Doc) public JspNode addText(String text) throws JspParseException(Code)(Java Doc) protected boolean attributeToBoolean(String attr, String value) throws JspParseException(Code)(Java Doc) protected String classToString(Class cl)(Code)(Java Doc) public void convertParameterValue(JspJavaWriter out, String type, String value) throws IOException(Code)(Java Doc) public void endAttributes() throws JspParseException(Code)(Java Doc) public void endElement() throws Exception(Code)(Java Doc) protected JspParseException error(String msg)(Code)(Java Doc) protected JspParseException error(String msg, Throwable e)(Code)(Java Doc) protected JspParseException error(Throwable e)(Code)(Java Doc) public static String escapeJavaString(String s)(Code)(Java Doc) public JspNode findScriptingNode()(Code)(Java Doc) abstract public void generate(JspJavaWriter out) throws Exception(Code)(Java Doc) public void generateChildren(JspJavaWriter out) throws Exception(Code)(Java Doc) public void generateChildrenEmpty() throws Exception(Code)(Java Doc) public void generateDeclaration(JspJavaWriter out) throws IOException(Code)(Java Doc) public void generateDeclarationChildren(JspJavaWriter out) throws IOException(Code)(Java Doc) protected String generateELValue(Class type, String value) throws Exception(Code)(Java Doc) public void generateEmpty() throws Exception(Code)(Java Doc) public void generateEndLocation(JspJavaWriter out) throws IOException(Code)(Java Doc) void generateFragment(JspJavaWriter out, JspFragmentNode frag, String contextVar) throws Exception(Code)(Java Doc) protected String generateFragment(JspFragmentNode frag, String contextVar) throws Exception(Code)(Java Doc) void generateFragmentParameter(JspJavaWriter out, Object obj, Object objValue, Method method, boolean allowRtexpr, String contextVar) throws Exception(Code)(Java Doc) String generateFragmentParameter(String string, boolean allowRtexpr) throws Exception(Code)(Java Doc) void generateIncludeParams(JspJavaWriter out, ArrayList params) throws Exception(Code)(Java Doc) String generateJstlValue(Class type, String value) throws Exception(Code)(Java Doc) protected String generateObject(Object obj)(Code)(Java Doc) String generateParameterValue(Class type, String value) throws Exception(Code)(Java Doc) String generateParameterValue(Class type, String value, boolean rtexpr, TagAttributeInfo attrInfo, boolean isELIgnored) throws Exception(Code)(Java Doc) void generateParentTag(JspJavaWriter out, TagInstance parent) throws IOException(Code)(Java Doc) protected String generateParentTag(TagInstance parent) throws IOException(Code)(Java Doc) public void generatePrologue(JspJavaWriter out) throws Exception(Code)(Java Doc) public void generatePrologueChildren(JspJavaWriter out) throws Exception(Code)(Java Doc) public void generatePrologueDeclare(JspJavaWriter out) throws Exception(Code)(Java Doc) String generateRTValue(Class type, Object value) throws Exception(Code)(Java Doc) void generateSetParameter(JspJavaWriter out, String obj, Object objValue, Method method, boolean allowRtexpr, String contextVar, boolean isFragment, TagAttributeInfo attrInfo) throws Exception(Code)(Java Doc) void generateSetParameter(JspJavaWriter out, String obj, String value, Method method, Class editorClass) throws Exception(Code)(Java Doc) public void generateStartLocation(JspJavaWriter out) throws IOException(Code)(Java Doc) public void generateStatic(JspJavaWriter out) throws Exception(Code)(Java Doc) String generateValue(Class type, String value) throws Exception(Code)(Java Doc) public String getBodyContent()(Code)(Java Doc) public ArrayList<JspNode> getChildren()(Code)(Java Doc) public String getCustomTagName()(Code)(Java Doc) public int getEndAttributeLine()(Code)(Java Doc) public int getEndLine()(Code)(Java Doc) public String getFilename()(Code)(Java Doc) public String getJsfBodyVar()(Code)(Java Doc) public String getJsfVar()(Code)(Java Doc) final public NamespaceContext getNamespaceContext()(Code)(Java Doc) public String getNamespacePrefix(String uri)(Code)(Java Doc) public JspNode getParent()(Code)(Java Doc) public String getParentTagName()(Code)(Java Doc) public JspNode getParentTagNode()(Code)(Java Doc) public QName getQName()(Code)(Java Doc) public String getRuntimeAttribute(String value) throws Exception(Code)(Java Doc) public JspSegmentNode getSegment()(Code)(Java Doc) public int getStartLine()(Code)(Java Doc) public String getStaticText()(Code)(Java Doc) public void getStaticText(CharBuffer cb)(Code)(Java Doc) public TagInstance getTag()(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public boolean hasCustomTag()(Code)(Java Doc) public boolean hasDeferredAttribute(String value)(Code)(Java Doc) public boolean hasDeferredAttribute(String value, boolean isELIgnored)(Code)(Java Doc) public boolean hasELAttribute(String value)(Code)(Java Doc) public boolean hasELAttribute(String value, boolean isELIgnored)(Code)(Java Doc) public boolean hasNamespace(String prefix, String uri)(Code)(Java Doc) public boolean hasNamespace(QName name)(Code)(Java Doc) public boolean hasRuntimeAttribute(String value) throws JspParseException(Code)(Java Doc) public boolean hasScripting()(Code)(Java Doc) public boolean hasScripting(String value)(Code)(Java Doc) public boolean hasScripting(JspAttribute value)(Code)(Java Doc) public boolean hasScriptingElement()(Code)(Java Doc) public boolean hasTag()(Code)(Java Doc) protected String invokeFragment(JspFragmentNode frag) throws Exception(Code)(Java Doc) public boolean isInFragment()(Code)(Java Doc) public boolean isJsfParentRequired()(Code)(Java Doc) public boolean isJstl()(Code)(Java Doc) public boolean isPre21Taglib()(Code)(Java Doc) public boolean isSimpleTag()(Code)(Java Doc) public boolean isStatic()(Code)(Java Doc) protected Class loadClass(String type) throws JspParseException(Code)(Java Doc) public void printJspId(WriteStream os) throws IOException(Code)(Java Doc) abstract public void printXml(WriteStream os) throws IOException(Code)(Java Doc) public void printXmlAttribute(WriteStream os, String name, String text) throws IOException(Code)(Java Doc) public void printXmlText(WriteStream os, String text) throws IOException(Code)(Java Doc) public void setEndAttributeLocation(String filename, int line)(Code)(Java Doc) public void setEndLocation(String filename, int line)(Code)(Java Doc) public void setGenerator(JavaJspGenerator gen)(Code)(Java Doc) final public void setNamespace(Namespace ns)(Code)(Java Doc) public void setParent(JspNode parent)(Code)(Java Doc) public void setParseState(ParseState parseState)(Code)(Java Doc) public void setQName(QName name)(Code)(Java Doc) public void setStartLocation(Path sourcePath, String filename, int line)(Code)(Java Doc) String stringToValue(Class type, String obj)(Code)(Java Doc) public static String toELObject(String expr, Class type)(Code)(Java Doc) public String toString()(Code)(Java Doc) public String xmlAttrText(String text)(Code)(Java Doc) public String xmlText(String text)(Code)(Java Doc)
|
|
|