|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.compiler.Node org.apache.jasper.compiler.Node.InvokeAction
Represents a
This should always be called and only be called for nodes that
accept dynamic runtime attribute expressions.
Nested Class Summary
static class
Node.AttributeDirective
Represents an attribute directive
static class
Node.AttributeGenerator
Used as a placeholder for the evaluation code of a custom action
attribute (used by the tag plugin machinery only).
static class
Node.ChildInfo
Collected information about child elements.
static class
Node.Comment
Represents a Jsp comment
Comments are kept for completeness.
static class
Node.CustomTag
Represents a custom tag
static class
Node.Declaration
Represents a declaration
static class
Node.DoBodyAction
Represents a
static class
Node.ELExpression
Represents an EL expression.
static class
Node.Expression
Represents an expression.
static class
Node.FallBackAction
Represents a fallback action
static class
Node.ForwardAction
Represents a forward action
static class
Node.GetProperty
Represents a getProperty action
static class
Node.IncludeAction
Represents an include action
static class
Node.IncludeDirective
Represents an include directive
static class
Node.InvokeAction
Represents a
static class
Node.JspAttribute
Represents attributes that can be request time expressions.
static class
Node.JspBody
Represents a JspBody node (<jsp:body>)
static class
Node.JspElement
Represents a
static class
Node.JspOutput
Represents a
static class
Node.JspRoot
Represents the root of a Jsp document (XML syntax)
static class
Node.JspText
Represents the body of a <jsp:text> element
static class
Node.NamedAttribute
Represents a Named Attribute (<jsp:attribute>)
static class
Node.Nodes
An ordered list of Node, used to represent the body of an element, or
a jsp page of jsp document.
static class
Node.PageDirective
Represents a page directive
static class
Node.ParamAction
Represents a param action
static class
Node.ParamsAction
Represents a params action
static class
Node.PlugIn
Represents a plugin action
static class
Node.Root
Represents the root of a Jsp page or Jsp document
static class
Node.ScriptingElement
Represents an expression, declaration, or scriptlet
static class
Node.Scriptlet
Represents a scriptlet
static class
Node.SetProperty
Represents a setProperty action
static class
Node.TagDirective
Represents a tag directive
static class
Node.TaglibDirective
Represents a custom taglib directive
static class
Node.TemplateText
Represents a template text string
static class
Node.UninterpretedTag
Represents an uninterpreted tag, from a Jsp document
static class
Node.UseBean
Represents a useBean action
static class
Node.VariableDirective
Represents a variable directive
static class
Node.Visitor
A visitor class for visiting the node.
Field Summary
protected org.xml.sax.Attributes
attrs
protected int
beginJavaLine
protected Node.Nodes
body
protected int
endJavaLine
protected java.lang.String
localName
protected Node.Nodes
namedAttributeNodes
protected org.xml.sax.Attributes
nonTaglibXmlnsAttrs
protected org.apache.jasper.compiler.Node
parent
protected java.lang.String
qName
protected org.apache.jasper.compiler.Mark
startMark
protected org.xml.sax.Attributes
taglibAttrs
protected java.lang.String
text
Constructor Summary
Node.InvokeAction(org.xml.sax.Attributes attrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Node.InvokeAction(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
void
accept(Node.Visitor v)
org.xml.sax.Attributes
getAttributes()
java.lang.String
getAttributeValue(java.lang.String name)
int
getBeginJavaLine()
Node.Nodes
getBody()
int
getEndJavaLine()
java.lang.String
getLocalName()
Node.NamedAttribute
getNamedAttributeNode(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.Nodes
getNamedAttributeNodes()
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.Attributes
getNonTaglibXmlnsAttributes()
org.apache.jasper.compiler.Node
getParent()
java.lang.String
getQName()
Node.Root
getRoot()
org.apache.jasper.compiler.Mark
getStart()
org.xml.sax.Attributes
getTaglibAttributes()
java.lang.String
getText()
java.lang.String
getTextAttribute(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
boolean
isDummy()
void
setAttributes(org.xml.sax.Attributes attrs)
void
setBeginJavaLine(int begin)
void
setBody(Node.Nodes body)
void
setEndJavaLine(int end)
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
Constructor Detail
Node.InvokeAction
public Node.InvokeAction(org.xml.sax.Attributes attrs,
org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Node parent)
Node.InvokeAction
public Node.InvokeAction(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()
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.