Java Doc for Node.java in  » Template-Engine » Velocity » org » apache » velocity » runtime » parser » node » 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 » Template Engine » Velocity » org.apache.velocity.runtime.parser.node 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.velocity.runtime.parser.node.Node

All known Subclasses:   org.apache.velocity.runtime.parser.node.SimpleNode,
Node
public interface Node (Code)
This file describes the interface between the Velocity code and the JavaCC generated code.
author:
   Henning P. Schmiedehausen
version:
   $Id: Node.java 471381 2006-11-05 08:56:58Z wglass $




Method Summary
public  ObjectchildrenAccept(ParserVisitor visitor, Object data)
    
public  booleanevaluate(InternalContextAdapter context)
    
public  Objectexecute(Object o, InternalContextAdapter context)
    
public  intgetColumn()
    
public  TokengetFirstToken()
    
public  intgetInfo()
    
public  TokengetLastToken()
    
public  intgetLine()
    
public  intgetType()
    
public  Objectinit(InternalContextAdapter context, Object data)
    
public  booleanisInvalid()
    
public  ObjectjjtAccept(ParserVisitor visitor, Object data)
    
public  voidjjtAddChild(Node n, int i)
     This method tells the node to add its argument to the node's list of children.
public  voidjjtClose()
     This method is called after all the child nodes have been added.
public  NodejjtGetChild(int i)
     This method returns a child node.
public  intjjtGetNumChildren()
     Return the number of children the node has.
public  NodejjtGetParent()
    
public  voidjjtOpen()
     This method is called after the node has been made the current node.
public  voidjjtSetParent(Node n)
     This pair of methods are used to inform the node of its parent.
public  Stringliteral()
    
public  booleanrender(InternalContextAdapter context, Writer writer)
    
public  voidsetInfo(int info)
    
public  voidsetInvalid()
     Mark the node as invalid.
public  Objectvalue(InternalContextAdapter context)
    



Method Detail
childrenAccept
public Object childrenAccept(ParserVisitor visitor, Object data)(Code)

See Also:   Node.jjtAccept(ParserVisitor,Object)
Parameters:
  visitor -
Parameters:
  data - The node execution result.



evaluate
public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException(Code)

Parameters:
  context - The evaluation result.
throws:
  MethodInvocationException -



execute
public Object execute(Object o, InternalContextAdapter context) throws MethodInvocationException(Code)

Parameters:
  o -
Parameters:
  context - The execution result.
throws:
  MethodInvocationException -



getColumn
public int getColumn()(Code)
The current column position.



getFirstToken
public Token getFirstToken()(Code)
The first token.



getInfo
public int getInfo()(Code)
The current node info.



getLastToken
public Token getLastToken()(Code)
The last token.



getLine
public int getLine()(Code)
The current line position.



getType
public int getType()(Code)
The NodeType.



init
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException(Code)

Parameters:
  context -
Parameters:
  data - The init result.
throws:
  TemplateInitException -



isInvalid
public boolean isInvalid()(Code)
True if the node is invalid.



jjtAccept
public Object jjtAccept(ParserVisitor visitor, Object data)(Code)

Parameters:
  visitor -
Parameters:
  data - The Node execution result object.



jjtAddChild
public void jjtAddChild(Node n, int i)(Code)
This method tells the node to add its argument to the node's list of children.
Parameters:
  n -
Parameters:
  i -



jjtClose
public void jjtClose()(Code)
This method is called after all the child nodes have been added.



jjtGetChild
public Node jjtGetChild(int i)(Code)
This method returns a child node. The children are numbered from zero, left to right.
Parameters:
  i - A child node.



jjtGetNumChildren
public int jjtGetNumChildren()(Code)
Return the number of children the node has. The number of children of this node.



jjtGetParent
public Node jjtGetParent()(Code)
The node parent.



jjtOpen
public void jjtOpen()(Code)
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.



jjtSetParent
public void jjtSetParent(Node n)(Code)
This pair of methods are used to inform the node of its parent.
Parameters:
  n -



literal
public String literal()(Code)
A literal.



render
public boolean render(InternalContextAdapter context, Writer writer) throws IOException, MethodInvocationException, ParseErrorException, ResourceNotFoundException(Code)

Parameters:
  context -
Parameters:
  writer - True if the node rendered successfully.
throws:
  IOException -
throws:
  MethodInvocationException -
throws:
  ParseErrorException -
throws:
  ResourceNotFoundException -



setInfo
public void setInfo(int info)(Code)

Parameters:
  info -



setInvalid
public void setInvalid()(Code)
Mark the node as invalid.



value
public Object value(InternalContextAdapter context) throws MethodInvocationException(Code)

Parameters:
  context - The node value.
throws:
  MethodInvocationException -



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