public class JiBXDataSource extends Object implements org.apache.axiom.om.OMDataSource
| 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 |
|---|---|
javax.xml.stream.XMLStreamReader |
getReader() |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter) |
public 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 void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamReader getReader() throws javax.xml.stream.XMLStreamException
getReader in interface org.apache.axiom.om.OMDataSourcejavax.xml.stream.XMLStreamExceptionCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.