当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
JavaConstantNode (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.hql.ast.tree
Class JavaConstantNode
java.lang.Object
antlr.BaseAST
antlr.CommonAST
org.hibernate.hql.ast.tree.Node
org.hibernate.hql.ast.tree.JavaConstantNode
- All Implemented Interfaces:
- antlr.collections.AST, ExpectedTypeAwareNode, Serializable, SessionFactoryAwareNode
- public class JavaConstantNode
- extends Node
- implements ExpectedTypeAwareNode, SessionFactoryAwareNode
A node representing a static Java constant.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Fields inherited from class antlr.BaseAST |
down, right |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setType |
Methods inherited from class antlr.BaseAST |
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 |
JavaConstantNode
public JavaConstantNode()
setText
public void setText(String s)
- Specified by:
setText
in interface antlr.collections.AST
setExpectedType
public void setExpectedType(Type expectedType)
- Specified by:
setExpectedType
in interface ExpectedTypeAwareNode
getExpectedType
public Type getExpectedType()
- Specified by:
getExpectedType
in interface ExpectedTypeAwareNode
setSessionFactory
public void setSessionFactory(SessionFactoryImplementor factory)
- Specified by:
setSessionFactory
in interface SessionFactoryAwareNode
getRenderText
public String getRenderText(SessionFactoryImplementor sessionFactory)
- Description copied from class:
Node
- Retrieve the text to be used for rendering this particular node.
- Overrides:
getRenderText
in class Node
- Parameters:
sessionFactory
- The session factory
- Returns:
- The text to use for rendering