|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jasper.compiler.Node
org.apache.jasper.compiler.Node.DoBodyAction
Represents a
This should always be called and only be called for nodes that
accept dynamic runtime attribute expressions.
Nested Class Summary
static classNode.AttributeDirective
Represents an attribute directive
static classNode.AttributeGenerator
Used as a placeholder for the evaluation code of a custom action
attribute (used by the tag plugin machinery only).
static classNode.ChildInfo
Collected information about child elements.
static classNode.Comment
Represents a Jsp comment
Comments are kept for completeness.
static classNode.CustomTag
Represents a custom tag
static classNode.Declaration
Represents a declaration
static classNode.DoBodyAction
Represents a
static classNode.ELExpression
Represents an EL expression.
static classNode.Expression
Represents an expression.
static classNode.FallBackAction
Represents a fallback action
static classNode.ForwardAction
Represents a forward action
static classNode.GetProperty
Represents a getProperty action
static classNode.IncludeAction
Represents an include action
static classNode.IncludeDirective
Represents an include directive
static classNode.InvokeAction
Represents a
static classNode.JspAttribute
Represents attributes that can be request time expressions.
static classNode.JspBody
Represents a JspBody node (<jsp:body>)
static classNode.JspElement
Represents a
static classNode.JspOutput
Represents a
static classNode.JspRoot
Represents the root of a Jsp document (XML syntax)
static classNode.JspText
Represents the body of a <jsp:text> element
static classNode.NamedAttribute
Represents a Named Attribute (<jsp:attribute>)
static classNode.Nodes
An ordered list of Node, used to represent the body of an element, or
a jsp page of jsp document.
static classNode.PageDirective
Represents a page directive
static classNode.ParamAction
Represents a param action
static classNode.ParamsAction
Represents a params action
static classNode.PlugIn
Represents a plugin action
static classNode.Root
Represents the root of a Jsp page or Jsp document
static classNode.ScriptingElement
Represents an expression, declaration, or scriptlet
static classNode.Scriptlet
Represents a scriptlet
static classNode.SetProperty
Represents a setProperty action
static classNode.TagDirective
Represents a tag directive
static classNode.TaglibDirective
Represents a custom taglib directive
static classNode.TemplateText
Represents a template text string
static classNode.UninterpretedTag
Represents an uninterpreted tag, from a Jsp document
static classNode.UseBean
Represents a useBean action
static classNode.VariableDirective
Represents a variable directive
static classNode.Visitor
A visitor class for visiting the node.
Field Summary
protected org.xml.sax.Attributesattrs
protected intbeginJavaLine
protected Node.Nodesbody
protected intendJavaLine
protected java.lang.StringinnerClassName
protected java.lang.StringlocalName
protected Node.NodesnamedAttributeNodes
protected org.xml.sax.AttributesnonTaglibXmlnsAttrs
protected org.apache.jasper.compiler.Nodeparent
protected java.lang.StringqName
protected org.apache.jasper.compiler.MarkstartMark
protected org.xml.sax.AttributestaglibAttrs
protected java.lang.Stringtext
Constructor Summary
Node.DoBodyAction(org.xml.sax.Attributes attrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Node.DoBodyAction(java.lang.String qName,
org.xml.sax.Attributes attrs,
org.xml.sax.Attributes nonTaglibXmlnsAttrs,
org.xml.sax.Attributes taglibAttrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Method Summary
voidaccept(Node.Visitor v)
org.xml.sax.AttributesgetAttributes()
java.lang.StringgetAttributeValue(java.lang.String name)
intgetBeginJavaLine()
Node.NodesgetBody()
intgetEndJavaLine()
java.lang.StringgetInnerClassName()
java.lang.StringgetLocalName()
Node.NamedAttributegetNamedAttributeNode(java.lang.String name)
Searches all subnodes of this node for jsp:attribute standard
actions with the given name, and returns the NamedAttribute node
of the matching named attribute, nor null if no such node is found.
Node.NodesgetNamedAttributeNodes()
Searches all subnodes of this node for jsp:attribute standard
actions, and returns that set of nodes as a Node.Nodes object.
org.xml.sax.AttributesgetNonTaglibXmlnsAttributes()
org.apache.jasper.compiler.NodegetParent()
java.lang.StringgetQName()
Node.RootgetRoot()
org.apache.jasper.compiler.MarkgetStart()
org.xml.sax.AttributesgetTaglibAttributes()
java.lang.StringgetText()
java.lang.StringgetTextAttribute(java.lang.String name)
Get the attribute that is non request time expression, either
from the attribute of the node, or from a jsp:attrbute
booleanisDummy()
voidsetAttributes(org.xml.sax.Attributes attrs)
voidsetBeginJavaLine(int begin)
voidsetBody(Node.Nodes body)
voidsetEndJavaLine(int end)
voidsetInnerClassName(java.lang.String icn)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
attrs
protected org.xml.sax.Attributes attrs
taglibAttrs
protected org.xml.sax.Attributes taglibAttrs
nonTaglibXmlnsAttrs
protected org.xml.sax.Attributes nonTaglibXmlnsAttrs
body
protected Node.Nodes body
text
protected java.lang.String text
startMark
protected org.apache.jasper.compiler.Mark startMark
beginJavaLine
protected int beginJavaLine
endJavaLine
protected int endJavaLine
parent
protected org.apache.jasper.compiler.Node parent
namedAttributeNodes
protected Node.Nodes namedAttributeNodes
qName
protected java.lang.String qName
localName
protected java.lang.String localName
innerClassName
protected java.lang.String innerClassName
Constructor Detail
Node.DoBodyAction
public Node.DoBodyAction(org.xml.sax.Attributes attrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Node.DoBodyAction
public Node.DoBodyAction(java.lang.String qName,
org.xml.sax.Attributes attrs,
org.xml.sax.Attributes nonTaglibXmlnsAttrs,
org.xml.sax.Attributes taglibAttrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Method Detail
accept
public void accept(Node.Visitor v)
throws JasperException
v - The visitor class
JasperException
getQName
public java.lang.String getQName()
getLocalName
public java.lang.String getLocalName()
getAttributes
public org.xml.sax.Attributes getAttributes()
getTaglibAttributes
public org.xml.sax.Attributes getTaglibAttributes()
getNonTaglibXmlnsAttributes
public org.xml.sax.Attributes getNonTaglibXmlnsAttributes()
setAttributes
public void setAttributes(org.xml.sax.Attributes attrs)
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String name)
getTextAttribute
public java.lang.String getTextAttribute(java.lang.String name)
getNamedAttributeNode
public Node.NamedAttribute getNamedAttributeNode(java.lang.String name)
getNamedAttributeNodes
public Node.Nodes getNamedAttributeNodes()
getBody
public Node.Nodes getBody()
setBody
public void setBody(Node.Nodes body)
getText
public java.lang.String getText()
getStart
public org.apache.jasper.compiler.Mark getStart()
getParent
public org.apache.jasper.compiler.Node getParent()
getBeginJavaLine
public int getBeginJavaLine()
setBeginJavaLine
public void setBeginJavaLine(int begin)
getEndJavaLine
public int getEndJavaLine()
setEndJavaLine
public void setEndJavaLine(int end)
isDummy
public boolean isDummy()
getRoot
public Node.Root getRoot()
getInnerClassName
public java.lang.String getInnerClassName()
setInnerClassName
public void setInnerClassName(java.lang.String icn)
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2000 Apache Software Foundation. All Rights Reserved.