ca.quine.jcommons.sourceexporter
Class NullMarshaller

java.lang.Object
  |
  +--ca.quine.jcommons.sourceexporter.SourceMarshaller
        |
        +--ca.quine.jcommons.sourceexporter.NullMarshaller

public class NullMarshaller
extends SourceMarshaller

Marshals a null object. This marshaller must be first in the ChainOfResponsibility in order for the marshalling process to work correctly.


Constructor Summary
NullMarshaller()
           
 
Method Summary
 boolean doesMarshal(Object object)
           
 String marshal(ChainOfResponsibility chainOfResponsibility, MarshallingContext context, ClassSource classSource, Object object, boolean marshalAsObject)
           
 
Methods inherited from class ca.quine.jcommons.sourceexporter.SourceMarshaller
createMethodSource, marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMarshaller

public NullMarshaller()
Method Detail

doesMarshal

public boolean doesMarshal(Object object)
Specified by:
doesMarshal in class SourceMarshaller

marshal

public String marshal(ChainOfResponsibility chainOfResponsibility,
                      MarshallingContext context,
                      ClassSource classSource,
                      Object object,
                      boolean marshalAsObject)
Specified by:
marshal in class SourceMarshaller