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

Printer (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.impl
Class Printer

java.lang.Object
  extended bynet.sf.hibernate.impl.Printer

public final class Printer
extends Object

Renders entities to a nicely readable string.

Author:
Gavin King

Constructor Summary
Printer(SessionFactoryImplementor factory)
           
 
Method Summary
 void toString(Iterator iter)
           
 String toString(Map namedTypedValues)
           
 String toString(Object entity)
           
 String toString(Type[] types, Object[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Printer

public Printer(SessionFactoryImplementor factory)
Method Detail

toString

public String toString(Object entity)
                throws HibernateException
Parameters:
entity - an actual entity object, not a proxy!
Throws:
HibernateException

toString

public String toString(Type[] types,
                       Object[] values)
                throws HibernateException
Throws:
HibernateException

toString

public String toString(Map namedTypedValues)
                throws HibernateException
Throws:
HibernateException

toString

public void toString(Iterator iter)
              throws HibernateException
Throws:
HibernateException