|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- a class/interface which can be exported/imported by the implementer of this interfacepublic interface BambooStAXMappingHelper<T>
Base interface for StAX based export-import helper class
Method Summary | |
---|---|
void |
exportXml(net.sf.hibernate.Session session,
org.codehaus.staxmate.out.SMOutputElement outputElement,
T object)
Export object using StaxMate's SMOutputElement. |
java.lang.String |
getXmlRootNodeName()
Returns local name of the XML parent node that will contain exported/imported object's properties |
T |
importXml(net.sf.hibernate.Session session,
org.codehaus.staxmate.in.SMInputCursor inputCursor)
Import object using StaxMate's SMInputCursor. |
Method Detail |
---|
@NotNull java.lang.String getXmlRootNodeName()
void exportXml(@NotNull net.sf.hibernate.Session session, @NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull T object) throws java.lang.Exception
session
- Hibernate session objectoutputElement
- an element at which exported should create a node to export dataobject
- object being exported
java.lang.Exception
- when something went wrongT importXml(@NotNull net.sf.hibernate.Session session, @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor) throws java.lang.Exception
session
- Hibernate session objectinputCursor
- a inputCursor that points to the parent node containing object properties
java.lang.Exception
- when something went wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |