public class JavaConstantNode extends Node implements ExpectedTypeAwareNode, SessionFactoryAwareNode
Constructor and Description |
---|
JavaConstantNode() |
Modifier and Type | Method and Description |
---|---|
Type |
getExpectedType() |
String |
getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.
|
void |
setExpectedType(Type expectedType) |
void |
setSessionFactory(SessionFactoryImplementor factory) |
void |
setText(String s) |
getColumn, getFilename, getLine, getTextLength, initialize, initialize
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
public void setText(String s)
setText
in interface antlr.collections.AST
setText
in class antlr.CommonAST
public void setExpectedType(Type expectedType)
setExpectedType
in interface ExpectedTypeAwareNode
public Type getExpectedType()
getExpectedType
in interface ExpectedTypeAwareNode
public void setSessionFactory(SessionFactoryImplementor factory)
setSessionFactory
in interface SessionFactoryAwareNode
public String getRenderText(SessionFactoryImplementor sessionFactory)
Node
getRenderText
in class Node
sessionFactory
- The session factoryCopyright © 2016 JBoss by Red Hat. All rights reserved.