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 |
---|---|
XMLStreamReader |
getReader() |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(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 XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public XMLStreamReader getReader() throws XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.