org.apache.velocity.runtime.parser.node

Class ASTText

Implemented Interfaces:
Node

public class ASTText
extends SimpleNode

Nested Class Summary

Field Summary

private char[]
ctext

Fields inherited from class org.apache.velocity.runtime.parser.node.SimpleNode

children, first, last, id, info, invalid, parent, parser, rsvc, state

Constructor Summary

ASTText(int id)
ASTText(Parser p, int id)

Method Summary

Object
init(InternalContextAdapter context, Object data)
Object
jjtAccept(ParserVisitor visitor, Object data)
Accept the visitor.
boolean
render(InternalContextAdapter context, Writer writer)

Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode

childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, init, isInvalid, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString, value

Field Details

ctext

private char[] ctext

Constructor Details

ASTText

public ASTText(int id)


ASTText

public ASTText(Parser p,
               int id)

Method Details

init

public Object init(InternalContextAdapter context,
                   Object data)
            throws Exception
Specified by:
init in interface Node
Overrides:
init in interface SimpleNode


jjtAccept

public Object jjtAccept(ParserVisitor visitor,
                        Object data)
Accept the visitor. *
Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in interface SimpleNode


render

public boolean render(InternalContextAdapter context,
                      Writer writer)
            throws IOException
Specified by:
render in interface Node
Overrides:
render in interface SimpleNode


Copyright © 2003 Apache Software Foundation. All Rights Reserved.