|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.hibernate.xml.XMLDatabinder
Implementation of the API class Databinder. NOT threadsafe.
Databinder| Constructor Summary | |
XMLDatabinder(SessionFactoryImplementor factory,
javax.xml.transform.Transformer transform)
|
|
| Method Summary | |
Databinder |
bind(Object object)
Add an object to the output document. |
Databinder |
bindAll(Collection collection)
Add a collection of objects to the output document. |
static javax.xml.transform.Templates |
getOutputStyleSheetTemplates(Properties properties)
|
void |
setInitializeLazy(boolean initializeLazy)
Controls lazy initialization. |
org.w3c.dom.Document |
toDOM()
Output the custom XML representation of the bound objects as a DOM tree. |
org.w3c.dom.Document |
toGenericDOM()
Output the generic XML representation of the bound objects as a DOM tree. |
String |
toGenericXML()
Output the generic XML representation of the bound objects. |
String |
toXML()
Output the custom XML representation of the bound objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLDatabinder(SessionFactoryImplementor factory, javax.xml.transform.Transformer transform)
| Method Detail |
public void setInitializeLazy(boolean initializeLazy)
Databinder
setInitializeLazy in interface DatabinderinitializeLazy - true to explicitly initialize lazy objects,
false to leave them in the state they are in.public String toGenericXML() throws HibernateException
Databinder
toGenericXML in interface DatabinderHibernateExceptionpublic String toXML() throws HibernateException, javax.xml.transform.TransformerException
Databinder
toXML in interface Databinderjavax.xml.transform.TransformerException
HibernateException
public org.w3c.dom.Document toDOM()
throws HibernateException,
javax.xml.transform.TransformerException
Databinder
toDOM in interface DatabinderHibernateException
javax.xml.transform.TransformerExceptionpublic Databinder bind(Object object)
Databinder
bind in interface Databinderobject - a transient or persistent instance
public Databinder bindAll(Collection collection)
Databinder
bindAll in interface Databindercollection -
public org.w3c.dom.Document toGenericDOM()
throws HibernateException
Databinder
toGenericDOM in interface DatabinderHibernateExceptionpublic static javax.xml.transform.Templates getOutputStyleSheetTemplates(Properties properties)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||