org.hibernate.pretty
Class Printer

java.lang.Object
  extended by org.hibernate.pretty.Printer

public final class Printer
extends java.lang.Object

Renders entities to a nicely readable string.

Author:
Gavin King

Constructor Summary
Printer(SessionFactoryImplementor factory)
           
 
Method Summary
 void toString(java.util.Iterator iter, EntityMode entityMode)
           
 java.lang.String toString(java.util.Map namedTypedValues)
           
 java.lang.String toString(java.lang.Object entity, EntityMode entityMode)
           
 java.lang.String toString(Type[] types, java.lang.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 java.lang.String toString(java.lang.Object entity,
                                 EntityMode entityMode)
                          throws HibernateException
Parameters:
entity - an actual entity object, not a proxy!
Throws:
HibernateException

toString

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

toString

public java.lang.String toString(java.util.Map namedTypedValues)
                          throws HibernateException
Throws:
HibernateException

toString

public void toString(java.util.Iterator iter,
                     EntityMode entityMode)
              throws HibernateException
Throws:
HibernateException


Copyright © 2008 Hibernate.org. All Rights Reserved.