org.sonatype.gshell.util.marshal
Interface Marshaller<T>
- All Known Implementing Classes:
- MarshallerSupport
public interface Marshaller<T>
Marshaller interface.
- Since:
- 2.3
- Author:
- Jason Dillon
marshal
void marshal(T root,
OutputStream output)
marshal
void marshal(T root,
Writer writer)
marshal
String marshal(T root)
marshal
void marshal(T root,
File file)
throws IOException
- Throws:
IOException
unmarshal
T unmarshal(InputStream input)
unmarshal
T unmarshal(Reader reader)
unmarshal
T unmarshal(String xml)
unmarshal
T unmarshal(URL url)
throws IOException
- Throws:
IOException
unmarshal
T unmarshal(File file)
throws IOException
- Throws:
IOException
Copyright © 2008-2011 Sonatype. All Rights Reserved.