org.enhydra.zeus
Class Marshaller

java.lang.Object
  |
  +--org.enhydra.zeus.Marshaller

public class Marshaller
extends java.lang.Object

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(java.lang.Object obj, Result result)
           This method is the public entry point for marshalling an object into an XML instance document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Marshaller

public Marshaller()

Simple constructor.

Method Detail

marshall

public void marshall(java.lang.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.


Copyright © 2001 Enhydra. All Rights Reserved.