站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Node (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.hql.ast.tree
Class Node

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.CommonAST
          extended byorg.hibernate.hql.ast.tree.Node
All Implemented Interfaces:
antlr.collections.AST, Serializable
Direct Known Subclasses:
JavaConstantNode, SqlFragment, SqlNode

public class Node
extends antlr.CommonAST

Base node class for use by Hibernate within its AST trees.

Author:
Joshua Davis, Steve Ebersole
See Also:
Serialized Form

Field Summary
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
Node()
           
Node(antlr.Token tok)
           
 
Method Summary
 int getColumn()
           
 String getFilename()
           
 int getLine()
           
 String getRenderText(SessionFactoryImplementor sessionFactory)
          Retrieve the text to be used for rendering this particular node.
 int getTextLength()
           
 void initialize(antlr.collections.AST t)
           
 void initialize(antlr.Token tok)
           
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, setText, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node()

Node

public Node(antlr.Token tok)
Method Detail

getRenderText

public String getRenderText(SessionFactoryImplementor sessionFactory)
Retrieve the text to be used for rendering this particular node.

Parameters:
sessionFactory - The session factory
Returns:
The text to use for rendering

initialize

public void initialize(antlr.Token tok)

initialize

public void initialize(antlr.collections.AST t)

getFilename

public String getFilename()

getLine

public int getLine()

getColumn

public int getColumn()

getTextLength

public int getTextLength()