public class AbstractVmNode extends AbstractNode implements VmNode
| Modifier and Type | Field and Description |
|---|---|
protected Token |
first |
protected int |
info |
protected boolean |
invalid |
protected Token |
last |
protected VmParser |
parser |
boolean |
state |
protected String |
templateName |
beginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
AbstractVmNode(int i) |
AbstractVmNode(VmParser p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
Object |
childrenAccept(VmParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
dump(String prefix,
boolean recurse,
Writer writer)
Override this method if you want to customize how the node dumps out its children.
|
int |
getColumn() |
Token |
getFirstToken() |
int |
getInfo() |
Token |
getLastToken() |
int |
getLine() |
String |
getTemplateName() |
int |
getType() |
boolean |
isInvalid() |
Object |
jjtAccept(VmParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
void |
jjtOpen()
This method is called after the node has been made the current
node.
|
String |
literal() |
void |
setFirstToken(Token t) |
void |
setInfo(int info) |
void |
setInvalid() |
String |
toString()
Subclasses should implement this method to return a name usable with
XPathRule for evaluating Element Names.
|
String |
toString(String prefix) |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserDataprotected VmParser parser
protected int info
public boolean state
protected boolean invalid
protected Token first
protected Token last
protected String templateName
public AbstractVmNode(int i)
i - public AbstractVmNode(VmParser p, int i)
p - i - public void jjtOpen()
NodejjtOpen in interface NodejjtOpen in class AbstractNodeorg.apache.velocity.runtime.parser.node.Node#jjtOpen()public void jjtClose()
NodejjtClose in interface NodejjtClose in class AbstractNodeorg.apache.velocity.runtime.parser.node.Node#jjtClose()public void setFirstToken(Token t)
t - public Token getFirstToken()
org.apache.velocity.runtime.parser.node.Node#getFirstToken()public Token getLastToken()
org.apache.velocity.runtime.parser.node.Node#getLastToken()public Object jjtAccept(VmParserVisitor visitor, Object data)
VmNodepublic Object childrenAccept(VmParserVisitor visitor, Object data)
VmNodechildrenAccept in interface VmNodeorg.apache.velocity.runtime.parser.node.Node#childrenAccept(org.apache.velocity.runtime.parser.node.VmParserVisitor,
java.lang.Object)public String toString()
AbstractNodetoString in class AbstractNodepublic String toString(String prefix)
prefix - public void dump(String prefix, boolean recurse, Writer writer)
prefix - public String literal()
org.apache.velocity.runtime.parser.node.Node#literal()public int getType()
org.apache.velocity.runtime.parser.node.Node#getType()public void setInfo(int info)
org.apache.velocity.runtime.parser.node.Node#setInfo(int)public int getInfo()
org.apache.velocity.runtime.parser.node.Node#getInfo()public void setInvalid()
org.apache.velocity.runtime.parser.node.Node#setInvalid()public boolean isInvalid()
org.apache.velocity.runtime.parser.node.Node#isInvalid()public int getLine()
org.apache.velocity.runtime.parser.node.Node#getLine()public int getColumn()
org.apache.velocity.runtime.parser.node.Node#getColumn()public String getTemplateName()
Copyright © 2002-2014 InfoEther. All Rights Reserved.