public class ADBHelperDataSource<T> extends AbstractADBDataSource
parentQName
Constructor and Description |
---|
ADBHelperDataSource(T bean,
QName parentQName,
ADBHelper<T> helper)
Constructor taking in an ADBBean
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the DataSource and free its resources.
|
Object |
getObject()
Returns the backing Object.
|
void |
serialize(XMLStreamWriter xmlWriter)
This needs to be generated inside the ADB bean
|
copy, getLocalName, getNamespaceURI, getPrefix, isDestructiveWrite
getReader, isDestructiveRead
getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
xmlWriter
- XMLStreamException
OMDataSource.serialize(javax.xml.stream.XMLStreamWriter)
public Object getObject()
getObject
in interface org.apache.axiom.om.OMDataSourceExt
getObject
in class org.apache.axiom.om.ds.AbstractOMDataSource
public void close()
close
in interface org.apache.axiom.om.OMDataSourceExt
close
in class org.apache.axiom.om.ds.AbstractOMDataSource
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.