public interface Marshaller<T>
Modifier and Type | Method and Description |
---|---|
String |
marshal(T root) |
void |
marshal(T root,
File file) |
void |
marshal(T root,
OutputStream output) |
void |
marshal(T root,
Writer writer) |
T |
unmarshal(File file) |
T |
unmarshal(InputStream input) |
T |
unmarshal(Reader reader) |
T |
unmarshal(String xml) |
T |
unmarshal(URL url) |
void marshal(T root, OutputStream output)
void marshal(T root, File file) throws IOException
IOException
T unmarshal(InputStream input)
T unmarshal(URL url) throws IOException
IOException
T unmarshal(File file) throws IOException
IOException
Copyright © 2008-2012 Sonatype. All Rights Reserved.