|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.compiler.Node
An internal data representation of a JSP page or a JSP docuement (XML). Also included here is a visitor class for tranversing nodes.
Nested Class Summary | |
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.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.JspAttribute
Represents attributes that can be request time expressions. |
static class |
Node.JspRoot
Represents the root of a Jsp document (XML syntax) |
static class |
Node.JspText
Represents the body of a |
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.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.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 Node |
parent
|
protected Mark |
startMark
|
protected java.lang.String |
text
|
Constructor Summary | |
Node(org.xml.sax.Attributes attrs,
Mark start,
Node parent)
Constructor. |
|
Node(Mark start,
Node parent)
Constructor. |
|
Node(java.lang.String text,
Mark start,
Node parent)
|
Method Summary | |
org.xml.sax.Attributes |
getAttributes()
|
java.lang.String |
getAttributeValue(java.lang.String name)
|
int |
getBeginJavaLine()
|
Node.Nodes |
getBody()
|
int |
getEndJavaLine()
|
Node |
getParent()
|
Mark |
getStart()
|
java.lang.String |
getText()
|
boolean |
isXmlSyntax()
|
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 |
protected org.xml.sax.Attributes attrs
protected Node.Nodes body
protected java.lang.String text
protected Mark startMark
protected int beginJavaLine
protected int endJavaLine
protected Node parent
Constructor Detail |
public Node(Mark start, Node parent)
start
- The location of the jsp pageparent
- The enclosing nodepublic Node(org.xml.sax.Attributes attrs, Mark start, Node parent)
attrs
- The attributes for this nodestart
- The location of the jsp pageparent
- The enclosing nodepublic Node(java.lang.String text, Mark start, Node parent)
Method Detail |
public org.xml.sax.Attributes getAttributes()
public void setAttributes(org.xml.sax.Attributes attrs)
public java.lang.String getAttributeValue(java.lang.String name)
public Node.Nodes getBody()
public void setBody(Node.Nodes body)
public java.lang.String getText()
public Mark getStart()
public Node getParent()
public int getBeginJavaLine()
public void setBeginJavaLine(int begin)
public int getEndJavaLine()
public void setEndJavaLine(int end)
public boolean isXmlSyntax()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |