ca.quine.jcommons.marshaller.type
Class ClassMarshaller

java.lang.Object
  |
  +--ca.quine.jcommons.marshaller.type.ClassMarshaller
All Implemented Interfaces:
IMarshaller, IRegistrant

public class ClassMarshaller
extends Object
implements IMarshaller

Attempting to get the fields on a Class object doesn't work very well. Simply marshal the name of the Class.


Constructor Summary
ClassMarshaller()
           
 
Method Summary
 Object[] getRegistrationKeys()
           
 void marshal(Marshaller marshaller, Node parentNode, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMarshaller

public ClassMarshaller()
Method Detail

getRegistrationKeys

public Object[] getRegistrationKeys()
Specified by:
getRegistrationKeys in interface IRegistrant

marshal

public void marshal(Marshaller marshaller,
                    Node parentNode,
                    Object obj)
             throws NoSuchFieldException,
                    IllegalAccessException,
                    ClassNotFoundException
Specified by:
marshal in interface IMarshaller
NoSuchFieldException
IllegalAccessException
ClassNotFoundException