org.enhydra.zeus
Class Marshaller
- public class Marshaller
Marshaller
takes a Java Object
instance and writes
out an XML representation of that object, with each property (variable)
of the instance and its value.
- Author:
- Brett McLaughlin
Constructor Summary |
Marshaller()
Simple constructor. |
Method Summary |
void | marshall(Object obj, Result result)
This method is the public entry point for marshalling an object into
an XML instance document. |
Marshaller
public Marshaller()
Simple constructor.
marshall
public void marshall(Object obj, Result result)
throws java.io.IOException
This method is the public entry point for marshalling an object into
an XML instance document.
- Parameters:
- obj -
Object
to convert to XML.- result -
Result
to write XML to. - Throws:
IOException
- when errors in output occur.