Java Doc for Node.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » jasper » compiler » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » apache tomcat 6.0.14 » org.apache.jasper.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.jasper.compiler.Node

Node
abstract class Node implements TagConstants(Code)
An internal data representation of a JSP page or a JSP docuement (XML). Also included here is a visitor class for tranversing nodes.
author:
   Kin-man Chung
author:
   Jan Luehe
author:
   Shawn Bayern
author:
   Mark Roth

Inner Class :public static class Root extends Node
Inner Class :public static class JspRoot extends Node
Inner Class :public static class PageDirective extends Node
Inner Class :public static class IncludeDirective extends Node
Inner Class :public static class TaglibDirective extends Node
Inner Class :public static class TagDirective extends Node
Inner Class :public static class AttributeDirective extends Node
Inner Class :public static class VariableDirective extends Node
Inner Class :public static class InvokeAction extends Node
Inner Class :public static class DoBodyAction extends Node
Inner Class :public static class Comment extends Node
Inner Class :abstract public static class ScriptingElement extends Node
Inner Class :public static class Declaration extends ScriptingElement
Inner Class :public static class Expression extends ScriptingElement
Inner Class :public static class Scriptlet extends ScriptingElement
Inner Class :public static class ELExpression extends Node
Inner Class :public static class ParamAction extends Node
Inner Class :public static class ParamsAction extends Node
Inner Class :public static class FallBackAction extends Node
Inner Class :public static class IncludeAction extends Node
Inner Class :public static class ForwardAction extends Node
Inner Class :public static class GetProperty extends Node
Inner Class :public static class SetProperty extends Node
Inner Class :public static class UseBean extends Node
Inner Class :public static class PlugIn extends Node
Inner Class :public static class UninterpretedTag extends Node
Inner Class :public static class JspElement extends Node
Inner Class :public static class JspOutput extends Node
Inner Class :public static class ChildInfo
Inner Class :public static class CustomTag extends Node
Inner Class :public static class AttributeGenerator extends Node
Inner Class :public static class JspText extends Node
Inner Class :public static class NamedAttribute extends Node
Inner Class :public static class JspBody extends Node
Inner Class :public static class TemplateText extends Node
Inner Class :public static class JspAttribute
Inner Class :public static class Nodes
Inner Class :public static class Visitor

Field Summary
protected  Attributesattrs
    
protected  intbeginJavaLine
    
protected  Nodesbody
    
protected  intendJavaLine
    
protected  StringinnerClassName
    
protected  StringlocalName
    
protected  NodesnamedAttributeNodes
    
protected  AttributesnonTaglibXmlnsAttrs
    
protected  Nodeparent
    
protected  StringqName
    
protected  MarkstartMark
    
protected  AttributestaglibAttrs
    
protected  Stringtext
    

Constructor Summary
public  Node()
     Zero-arg Constructor.
public  Node(Mark start, Node parent)
     Constructor.
public  Node(String qName, String localName, Mark start, Node parent)
     Constructor.
public  Node(String qName, String localName, Attributes attrs, Mark start, Node parent)
     Constructor for Nodes parsed from standard syntax.
public  Node(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent)
     Constructor for Nodes parsed from XML syntax.
public  Node(String qName, String localName, String text, Mark start, Node parent)
    

Method Summary
abstract  voidaccept(Visitor v)
     Selects and invokes a method in the visitor class based on the node type.
public  StringgetAttributeValue(String name)
    
public  AttributesgetAttributes()
    
public  intgetBeginJavaLine()
    
public  NodesgetBody()
    
public  intgetEndJavaLine()
    
public  StringgetInnerClassName()
    
public  StringgetLocalName()
    
public  NamedAttributegetNamedAttributeNode(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.
public  Node.NodesgetNamedAttributeNodes()
     Searches all subnodes of this node for jsp:attribute standard actions, and returns that set of nodes as a Node.Nodes object.
public  AttributesgetNonTaglibXmlnsAttributes()
    
public  NodegetParent()
    
public  StringgetQName()
    
public  Node.RootgetRoot()
    
public  MarkgetStart()
    
public  AttributesgetTaglibAttributes()
    
public  StringgetText()
    
public  StringgetTextAttribute(String name)
    
public  booleanisDummy()
    
public  voidsetAttributes(Attributes attrs)
    
public  voidsetBeginJavaLine(int begin)
    
public  voidsetBody(Nodes body)
    
public  voidsetEndJavaLine(int end)
    
public  voidsetInnerClassName(String icn)
    

Field Detail
attrs
protected Attributes attrs(Code)



beginJavaLine
protected int beginJavaLine(Code)



body
protected Nodes body(Code)



endJavaLine
protected int endJavaLine(Code)



innerClassName
protected String innerClassName(Code)



localName
protected String localName(Code)



namedAttributeNodes
protected Nodes namedAttributeNodes(Code)



nonTaglibXmlnsAttrs
protected Attributes nonTaglibXmlnsAttrs(Code)



parent
protected Node parent(Code)



qName
protected String qName(Code)



startMark
protected Mark startMark(Code)



taglibAttrs
protected Attributes taglibAttrs(Code)



text
protected String text(Code)




Constructor Detail
Node
public Node()(Code)
Zero-arg Constructor.



Node
public Node(Mark start, Node parent)(Code)
Constructor.
Parameters:
  start - The location of the jsp page
Parameters:
  parent - The enclosing node



Node
public Node(String qName, String localName, Mark start, Node parent)(Code)
Constructor.
Parameters:
  qName - The action's qualified name
Parameters:
  localName - The action's local name
Parameters:
  start - The location of the jsp page
Parameters:
  parent - The enclosing node



Node
public Node(String qName, String localName, Attributes attrs, Mark start, Node parent)(Code)
Constructor for Nodes parsed from standard syntax.
Parameters:
  qName - The action's qualified name
Parameters:
  localName - The action's local name
Parameters:
  attrs - The attributes for this node
Parameters:
  start - The location of the jsp page
Parameters:
  parent - The enclosing node



Node
public Node(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent)(Code)
Constructor for Nodes parsed from XML syntax.
Parameters:
  qName - The action's qualified name
Parameters:
  localName - The action's local name
Parameters:
  attrs - The action's attributes whose name does not start with xmlns
Parameters:
  nonTaglibXmlnsAttrs - The action's xmlns attributes that do not represent taglibraries
Parameters:
  taglibAttrs - The action's xmlns attributes that represent tag libraries
Parameters:
  start - The location of the jsp page
Parameters:
  parent - The enclosing node



Node
public Node(String qName, String localName, String text, Mark start, Node parent)(Code)




Method Detail
accept
abstract void accept(Visitor v) throws JasperException(Code)
Selects and invokes a method in the visitor class based on the node type. This is abstract and should be overrode by the extending classes.
Parameters:
  v - The visitor class



getAttributeValue
public String getAttributeValue(String name)(Code)



getAttributes
public Attributes getAttributes()(Code)



getBeginJavaLine
public int getBeginJavaLine()(Code)



getBody
public Nodes getBody()(Code)



getEndJavaLine
public int getEndJavaLine()(Code)



getInnerClassName
public String getInnerClassName()(Code)



getLocalName
public String getLocalName()(Code)



getNamedAttributeNode
public NamedAttribute getNamedAttributeNode(String name)(Code)
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.

This should always be called and only be called for nodes that accept dynamic runtime attribute expressions.




getNamedAttributeNodes
public Node.Nodes getNamedAttributeNodes()(Code)
Searches all subnodes of this node for jsp:attribute standard actions, and returns that set of nodes as a Node.Nodes object. Possibly empty Node.Nodes object containing any jsp:attributesubnodes of this Node



getNonTaglibXmlnsAttributes
public Attributes getNonTaglibXmlnsAttributes()(Code)



getParent
public Node getParent()(Code)



getQName
public String getQName()(Code)



getRoot
public Node.Root getRoot()(Code)



getStart
public Mark getStart()(Code)



getTaglibAttributes
public Attributes getTaglibAttributes()(Code)



getText
public String getText()(Code)



getTextAttribute
public String getTextAttribute(String name)(Code)
Get the attribute that is non request time expression, either from the attribute of the node, or from a jsp:attrbute



isDummy
public boolean isDummy()(Code)



setAttributes
public void setAttributes(Attributes attrs)(Code)



setBeginJavaLine
public void setBeginJavaLine(int begin)(Code)



setBody
public void setBody(Nodes body)(Code)



setEndJavaLine
public void setEndJavaLine(int end)(Code)



setInnerClassName
public void setInnerClassName(String icn)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.