XTAS Project (0.6 beta)

xtas.object.plugins
Class CastorClassMarshaller

java.lang.Object
  |
  +--xtas.object.plugins.CastorClassMarshaller
All Implemented Interfaces:
ObjectMarshaller

public class CastorClassMarshaller
extends java.lang.Object
implements ObjectMarshaller

Marshaller with mapping based on java class intercaption (internal mapping)

Version:
$Id: CastorClassMarshaller.java,v 1.3 2003/03/26 11:30:02 geaz Exp $

Constructor Summary
CastorClassMarshaller()
           
 
Method Summary
 void loadMapping(java.lang.Object source)
          Loads Class that will be introspected for mapping
 org.w3c.dom.Document marshal(java.lang.Object obj)
          Does Castor specific marshalling
 java.util.Collection unmarshal(org.w3c.dom.Document source)
          Does Castor specific unmarshalling
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CastorClassMarshaller

public CastorClassMarshaller()
Method Detail

loadMapping

public void loadMapping(java.lang.Object source)
                 throws ObjectMappingException
Loads Class that will be introspected for mapping
Specified by:
loadMapping in interface ObjectMarshaller

marshal

public org.w3c.dom.Document marshal(java.lang.Object obj)
                             throws ObjectMarshalException,
                                    ObjectMappingException
Does Castor specific marshalling
Specified by:
marshal in interface ObjectMarshaller

unmarshal

public java.util.Collection unmarshal(org.w3c.dom.Document source)
                               throws ObjectMarshalException,
                                      ObjectMappingException
Does Castor specific unmarshalling
Specified by:
unmarshal in interface ObjectMarshaller

XTAS Project (0.6 beta)