Although the marshal method accepts a java.lang.Object as its
first parameter, most Marshaller implementations cannot handle arbitrary
Objects. Instead, an object class must be registered with the marshaller,
or have a common base class.
Unmarshaller
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean |
| marshal | back to summary |
|---|---|
| public void marshal(Object graph, Result result) throws IOException, XmlMappingException Marshal the object graph with the given root into the provided
| |
| supports | back to summary |
|---|---|
| public boolean supports(Class<?> clazz) Indicate whether this marshaller can marshal instances of the supplied type.
| |