public class JiBXDataSource
extends org.apache.axiom.om.ds.AbstractPushOMDataSource
implements org.apache.axiom.om.QNameAwareOMDataSource
| Constructor and Description |
|---|
JiBXDataSource(org.jibx.runtime.IMarshallable obj,
org.jibx.runtime.IBindingFactory factory)
Constructor from marshallable object and binding factory.
|
JiBXDataSource(Object obj,
String mapping,
String name,
String uri,
String prefix,
int[] nsindexes,
String[] nsprefixes,
org.jibx.runtime.IBindingFactory factory)
Constructor from object with mapping index and binding factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMDataSourceExt |
copy() |
String |
getLocalName() |
String |
getNamespaceURI() |
Object |
getObject() |
String |
getPrefix() |
boolean |
isDestructiveWrite() |
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter) |
getReader, isDestructiveReadclose, getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setPropertypublic JiBXDataSource(org.jibx.runtime.IMarshallable obj,
org.jibx.runtime.IBindingFactory factory)
obj - factory - public JiBXDataSource(Object obj, String mapping, String name, String uri, String prefix, int[] nsindexes, String[] nsprefixes, org.jibx.runtime.IBindingFactory factory)
obj - mapping - name - uri - prefix - nsindexes - nsprefixes - factory - public String getLocalName()
getLocalName in interface org.apache.axiom.om.QNameAwareOMDataSourcepublic String getNamespaceURI()
getNamespaceURI in interface org.apache.axiom.om.QNameAwareOMDataSourcepublic String getPrefix()
getPrefix in interface org.apache.axiom.om.QNameAwareOMDataSourcepublic boolean isDestructiveWrite()
isDestructiveWrite in interface org.apache.axiom.om.OMDataSourceExtpublic void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic Object getObject()
getObject in interface org.apache.axiom.om.OMDataSourceExtgetObject in class org.apache.axiom.om.ds.AbstractOMDataSourcepublic org.apache.axiom.om.OMDataSourceExt copy()
copy in interface org.apache.axiom.om.OMDataSourceExtcopy in class org.apache.axiom.om.ds.AbstractOMDataSourceCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.