Java Doc for SimpleNode.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) 


java.lang.Object
   org.apache.velocity.runtime.parser.node.SimpleNode

All known Subclasses:   org.apache.velocity.runtime.parser.node.ASTExpression,  org.apache.velocity.runtime.parser.node.ASTIncludeStatement,  org.apache.velocity.runtime.parser.node.ASTEscapedDirective,  org.apache.velocity.runtime.parser.node.ASTElseStatement,  org.apache.velocity.runtime.parser.node.ASTIfStatement,  org.apache.velocity.runtime.parser.node.ASTLENode,  org.apache.velocity.runtime.parser.node.ASTVariable,  org.apache.velocity.runtime.parser.node.ASTText,  org.apache.velocity.runtime.parser.node.ASTDivNode,  org.apache.velocity.runtime.parser.node.ASTIdentifier,  org.apache.velocity.runtime.parser.node.ASTprocess,  org.apache.velocity.runtime.parser.node.ASTGTNode,  org.apache.velocity.runtime.parser.node.ASTAssignment,  org.apache.velocity.runtime.parser.node.ASTComment,  org.apache.velocity.runtime.parser.node.ASTSetDirective,  org.apache.velocity.runtime.parser.node.ASTElseIfStatement,  org.apache.velocity.runtime.parser.node.ASTObjectArray,  org.apache.velocity.runtime.parser.node.ASTStop,  org.apache.velocity.runtime.parser.node.ASTAndNode,  org.apache.velocity.runtime.parser.node.ASTSubtractNode,  org.apache.velocity.runtime.parser.node.ASTEQNode,  org.apache.velocity.runtime.parser.node.ASTDirective,  org.apache.velocity.runtime.parser.node.ASTWord,  org.apache.velocity.runtime.parser.node.ASTNotNode,  org.apache.velocity.runtime.parser.node.ASTMethod,  org.apache.velocity.runtime.parser.node.ASTFalse,  org.apache.velocity.runtime.parser.node.ASTBlock,  org.apache.velocity.runtime.parser.node.ASTIntegerRange,  org.apache.velocity.runtime.parser.node.ASTModNode,  org.apache.velocity.runtime.parser.node.ASTTrue,  org.apache.velocity.runtime.parser.node.ASTMap,  org.apache.velocity.runtime.parser.node.ASTNENode,  org.apache.velocity.runtime.parser.node.ASTStringLiteral,  org.apache.velocity.runtime.parser.node.ASTReference,  org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral,  org.apache.velocity.runtime.parser.node.ASTEscape,  org.apache.velocity.runtime.parser.node.ASTAddNode,  org.apache.velocity.runtime.parser.node.ASTOrNode,  org.apache.velocity.runtime.parser.node.ASTLTNode,  org.apache.velocity.runtime.parser.node.ASTMulNode,  org.apache.velocity.runtime.parser.node.ASTIntegerLiteral,  org.apache.velocity.runtime.parser.node.ASTParameters,  org.apache.velocity.runtime.parser.node.ASTGENode,
SimpleNode
public class SimpleNode implements Node(Code)


Field Summary
protected  Node[]children
    
protected  Tokenfirst
    
protected  intid
    
protected  intinfo
    
protected  booleaninvalid
    
protected  Tokenlast
    
protected  Loglog
    
protected  Nodeparent
    
protected  Parserparser
    
protected  RuntimeServicesrsvc
    
public  booleanstate
    

Constructor Summary
public  SimpleNode(int i)
    
public  SimpleNode(Parser p, int i)
    

Method Summary
public  ObjectchildrenAccept(ParserVisitor visitor, Object data)
    
public  voiddump(String prefix)
     Override this method if you want to customize how the node dumps out its children.
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)
    
public  voidjjtClose()
    
public  NodejjtGetChild(int i)
    
public  intjjtGetNumChildren()
    
public  NodejjtGetParent()
    
public  voidjjtOpen()
    
public  voidjjtSetParent(Node n)
    
public  Stringliteral()
    
public  booleanrender(InternalContextAdapter context, Writer writer)
    
public  voidsetFirstToken(Token t)
    
public  voidsetInfo(int info)
    
public  voidsetInvalid()
    
public  StringtoString(String prefix)
    
public  StringtoString()
    
public  Objectvalue(InternalContextAdapter context)
    

Field Detail
children
protected Node[] children(Code)



first
protected Token first(Code)



id
protected int id(Code)



info
protected int info(Code)



invalid
protected boolean invalid(Code)



last
protected Token last(Code)



log
protected Log log(Code)



parent
protected Node parent(Code)



parser
protected Parser parser(Code)



rsvc
protected RuntimeServices rsvc(Code)



state
public boolean state(Code)




Constructor Detail
SimpleNode
public SimpleNode(int i)(Code)

Parameters:
  i -



SimpleNode
public SimpleNode(Parser p, int i)(Code)

Parameters:
  p -
Parameters:
  i -




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

See Also:   org.apache.velocity.runtime.parser.node.Node.childrenAccept(org.apache.velocity.runtime.parser.ParserVisitorjava.lang.Object)



dump
public void dump(String prefix)(Code)
Override this method if you want to customize how the node dumps out its children.
Parameters:
  prefix -



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

See Also:   org.apache.velocity.runtime.parser.node.Node.evaluate(org.apache.velocity.context.InternalContextAdapter)



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

See Also:   org.apache.velocity.runtime.parser.node.Node.execute(java.lang.Objectorg.apache.velocity.context.InternalContextAdapter)



getColumn
public int getColumn()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getColumn



getFirstToken
public Token getFirstToken()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getFirstToken



getInfo
public int getInfo()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getInfo



getLastToken
public Token getLastToken()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getLastToken



getLine
public int getLine()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getLine



getType
public int getType()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.getType



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

throws:
  TemplateInitException -
See Also:   org.apache.velocity.runtime.parser.node.Node.init(org.apache.velocity.context.InternalContextAdapterjava.lang.Object)



isInvalid
public boolean isInvalid()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.isInvalid



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

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtAccept(org.apache.velocity.runtime.parser.ParserVisitorjava.lang.Object)



jjtAddChild
public void jjtAddChild(Node n, int i)(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtAddChild(org.apache.velocity.runtime.parser.node.Nodeint)



jjtClose
public void jjtClose()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtClose



jjtGetChild
public Node jjtGetChild(int i)(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtGetChild(int)



jjtGetNumChildren
public int jjtGetNumChildren()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtGetNumChildren



jjtGetParent
public Node jjtGetParent()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtGetParent



jjtOpen
public void jjtOpen()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtOpen



jjtSetParent
public void jjtSetParent(Node n)(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.jjtSetParent(org.apache.velocity.runtime.parser.node.Node)



literal
public String literal()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.literal



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

See Also:   org.apache.velocity.runtime.parser.node.Node.render(org.apache.velocity.context.InternalContextAdapterjava.io.Writer)



setFirstToken
public void setFirstToken(Token t)(Code)

Parameters:
  t -



setInfo
public void setInfo(int info)(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.setInfo(int)



setInvalid
public void setInvalid()(Code)

See Also:   org.apache.velocity.runtime.parser.node.Node.setInvalid



toString
public String toString(String prefix)(Code)

Parameters:
  prefix - String representation of this node.



toString
public String toString()(Code)



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

See Also:   org.apache.velocity.runtime.parser.node.Node.value(org.apache.velocity.context.InternalContextAdapter)



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.