org.apache.jasper.compiler
Class Node.ScriptingElement
java.lang.Object
org.apache.jasper.compiler.Node
org.apache.jasper.compiler.Node.ScriptingElement
- org.apache.jasper.compiler.Node
- TagConstants
public static abstract class Node.ScriptingElement
extends org.apache.jasper.compiler.Node
Represents an expression, declaration, or scriptlet
Node.AttributeDirective , Node.AttributeGenerator , Node.ChildInfo , Node.Comment , Node.CustomTag , Node.Declaration , Node.DoBodyAction , Node.ELExpression , Node.Expression , Node.FallBackAction , Node.ForwardAction , Node.GetProperty , Node.IncludeAction , Node.IncludeDirective , Node.InvokeAction , Node.JspAttribute , Node.JspBody , Node.JspElement , Node.JspOutput , Node.JspRoot , Node.JspText , Node.NamedAttribute , Node.Nodes , Node.PageDirective , Node.ParamAction , Node.ParamsAction , Node.PlugIn , Node.Root , Node.ScriptingElement , Node.Scriptlet , Node.SetProperty , Node.TagDirective , Node.TaglibDirective , Node.TemplateText , Node.UninterpretedTag , Node.UseBean , Node.VariableDirective , Node.Visitor |
attrs , beginJavaLine , body , endJavaLine , innerClassName , localName , namedAttributeNodes , nonTaglibXmlnsAttrs , parent , qName , startMark , taglibAttrs , text |
ATTRIBUTE_ACTION , ATTRIBUTE_DIRECTIVE_ACTION , BODY_ACTION , DECLARATION_ACTION , DIRECTIVE_ACTION , DOBODY_ACTION , ELEMENT_ACTION , EXPRESSION_ACTION , FALLBACK_ACTION , FORWARD_ACTION , GET_PROPERTY_ACTION , INCLUDE_ACTION , INCLUDE_DIRECTIVE_ACTION , INVOKE_ACTION , JSP_ATTRIBUTE_ACTION , JSP_ATTRIBUTE_DIRECTIVE_ACTION , JSP_BODY_ACTION , JSP_DECLARATION_ACTION , JSP_DOBODY_ACTION , JSP_ELEMENT_ACTION , JSP_EXPRESSION_ACTION , JSP_FALLBACK_ACTION , JSP_FORWARD_ACTION , JSP_GET_PROPERTY_ACTION , JSP_INCLUDE_ACTION , JSP_INCLUDE_DIRECTIVE_ACTION , JSP_INVOKE_ACTION , JSP_OUTPUT_ACTION , JSP_PAGE_DIRECTIVE_ACTION , JSP_PARAMS_ACTION , JSP_PARAM_ACTION , JSP_PLUGIN_ACTION , JSP_ROOT_ACTION , JSP_SCRIPTLET_ACTION , JSP_SET_PROPERTY_ACTION , JSP_TAGLIB_DIRECTIVE_ACTION , JSP_TAG_DIRECTIVE_ACTION , JSP_TEXT_ACTION , JSP_TEXT_ACTION_END , JSP_URI , JSP_USE_BEAN_ACTION , JSP_VARIABLE_DIRECTIVE_ACTION , OUTPUT_ACTION , PAGE_DIRECTIVE_ACTION , PARAMS_ACTION , PARAM_ACTION , PLUGIN_ACTION , ROOT_ACTION , SCRIPTLET_ACTION , SET_PROPERTY_ACTION , TAGLIB_DIRECTIVE_ACTION , TAG_DIRECTIVE_ACTION , TEXT_ACTION , URN_JSPTAGDIR , URN_JSPTLD , USE_BEAN_ACTION , VARIABLE_DIRECTIVE_ACTION |
ScriptingElement(String qName, String localName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, org.apache.jasper.compiler.Mark start, org.apache.jasper.compiler.Node parent)
|
ScriptingElement(String qName, String localName, String text, org.apache.jasper.compiler.Mark start, org.apache.jasper.compiler.Node parent)
|
org.apache.jasper.compiler.Mark | getStart() - For the same reason as above, the source line information in the
contained TemplateText node should be used.
|
String | getText() - When this node was created from a JSP page in JSP syntax, its text
was stored as a String in the "text" field, whereas when this node
was created from a JSP document, its text was stored as one or more
TemplateText nodes in its body.
|
getAttributeValue , getAttributes , getBeginJavaLine , getBody , getEndJavaLine , getInnerClassName , getLocalName , getNamedAttributeNode , getNamedAttributeNodes , getNonTaglibXmlnsAttributes , getParent , getQName , getRoot , getStart , getTaglibAttributes , getText , getTextAttribute , isDummy , setAttributes , setBeginJavaLine , setBody , setEndJavaLine , setInnerClassName |
ScriptingElement
public ScriptingElement(String qName,
String localName,
Attributes nonTaglibXmlnsAttrs,
Attributes taglibAttrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
ScriptingElement
public ScriptingElement(String qName,
String localName,
String text,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
getStart
public org.apache.jasper.compiler.Mark getStart()
For the same reason as above, the source line information in the
contained TemplateText node should be used.
- getStart in interface org.apache.jasper.compiler.Node
getText
public String getText()
When this node was created from a JSP page in JSP syntax, its text
was stored as a String in the "text" field, whereas when this node
was created from a JSP document, its text was stored as one or more
TemplateText nodes in its body. This method handles either case.
- getText in interface org.apache.jasper.compiler.Node
- The text string
Copyright B) 2000 Apache Software Foundation. All Rights Reserved.