T
- a class/interface which can be exported/imported by the implementer of this interfacepublic interface BambooStAXMappingHelper<T>
Modifier and Type | Interface and Description |
---|---|
static class |
BambooStAXMappingHelper.None |
Modifier and Type | Method and Description |
---|---|
void |
exportXml(org.hibernate.Session session,
org.codehaus.staxmate.out.SMOutputElement outputElement,
T object,
ExportDetailsBean exportDetailsBean)
Export object using StaxMate's SMOutputElement.
|
String |
getXmlRootNodeName()
Returns local name of the XML parent node that will contain exported/imported object's properties
|
T |
importXml(org.hibernate.Session session,
org.codehaus.staxmate.in.SMInputCursor inputCursor)
Import object using StaxMate's SMInputCursor.
|
@NotNull String getXmlRootNodeName()
void exportXml(@NotNull org.hibernate.Session session, @NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull T object, ExportDetailsBean exportDetailsBean) throws Exception
session
- Hibernate session objectoutputElement
- an element at which exported should create a node to export dataobject
- object being exportedexportDetailsBean
- Exception
- when something went wrongT importXml(@NotNull org.hibernate.Session session, @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
session
- Hibernate session objectinputCursor
- a inputCursor that points to the parent node containing object propertiesException
- when something went wrongCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.