public class StreamMarshaller extends Marshaller
Marshaller.PathNodedocument, flavor| Constructor and Description |
|---|
StreamMarshaller(XMLDocument document)
Constructor.
|
StreamMarshaller(XMLDocument document,
XMLOptions options)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
fromObject(Type sourceType,
Object value) |
void |
marshal(OutputStream stream) |
void |
marshal(Result outputResult) |
void |
marshal(Writer outputWriter) |
getOptions, setOptionspublic StreamMarshaller(XMLDocument document)
document - the document containing the root data object
and other XML related valuesoptions - the XML marshaling optionsXMLDocumentpublic StreamMarshaller(XMLDocument document, XMLOptions options)
document - the document containing the root data object
and other XML related valuesoptions - the XML marshaling optionsXMLDocument,
XMLOptionspublic void marshal(OutputStream stream) throws XMLStreamException, MarshallerException
public void marshal(Writer outputWriter) throws XMLStreamException, MarshallerException
public void marshal(Result outputResult) throws XMLStreamException, MarshallerException
protected String fromObject(Type sourceType, Object value)
fromObject in class MarshallerCopyright © 2017. All rights reserved.