public class StreamDescriptorMarshaller extends Object
Modifier and Type | Method and Description |
---|---|
static StreamDescriptorMarshaller |
getInstance() |
void |
marshal(List<StreamDescriptor> descriptors,
OutputStream os) |
String |
marshal(StreamDescriptor sd) |
void |
marshal(StreamDescriptor sd,
File f) |
void |
marshal(StreamDescriptor sd,
File f,
boolean prettyPrint) |
void |
marshal(StreamDescriptor sd,
OutputStream os) |
void |
marshal(StreamDescriptor sd,
OutputStream os,
boolean prettyPrint) |
void |
marshal(StreamDescriptor sd,
Writer w) |
void |
marshal(StreamDescriptor sd,
Writer w,
boolean prettyPrint) |
void |
marshal(StreamDescriptor sd,
XMLStreamWriter xsw) |
StreamDescriptor |
unmarshal(File file) |
StreamDescriptor |
unmarshal(InputStream is) |
StreamDescriptor |
unmarshal(Reader reader) |
StreamDescriptor |
unmarshal(String xml) |
public static StreamDescriptorMarshaller getInstance()
public void marshal(StreamDescriptor sd, Writer w) throws IOException
IOException
public void marshal(StreamDescriptor sd, Writer w, boolean prettyPrint) throws IOException
IOException
public void marshal(StreamDescriptor sd, File f) throws IOException
IOException
public void marshal(StreamDescriptor sd, File f, boolean prettyPrint) throws IOException
IOException
public void marshal(StreamDescriptor sd, OutputStream os) throws IOException
IOException
public void marshal(StreamDescriptor sd, OutputStream os, boolean prettyPrint) throws IOException
IOException
public void marshal(List<StreamDescriptor> descriptors, OutputStream os) throws IOException
IOException
public void marshal(StreamDescriptor sd, XMLStreamWriter xsw) throws IOException, XMLStreamException
IOException
XMLStreamException
public String marshal(StreamDescriptor sd)
public StreamDescriptor unmarshal(String xml)
public StreamDescriptor unmarshal(File file) throws IOException
IOException
public StreamDescriptor unmarshal(InputStream is) throws IOException
IOException
public StreamDescriptor unmarshal(Reader reader)
Copyright © 2017 levigo holding gmbh. All rights reserved.