ca.quine.jcommons.sourceexporter
Class SetMarshaller

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

public class SetMarshaller
extends CollectionMarshaller

Marshals a Set into source code.


Constructor Summary
SetMarshaller()
           
 
Method Summary
protected  void addItemsToReturnValue(ChainOfResponsibility chainOfResponsibility, MarshallingContext context, ClassSource classSource, Object object, ArrayList codeLines)
           
 boolean doesMarshal(Object object)
           
 
Methods inherited from class ca.quine.jcommons.sourceexporter.CollectionMarshaller
arrayDimension, arrayType, convertClassToInitializer, convertTypeToSimpleType, convertTypeToSourceCodeType, initialCap, marshal
 
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

SetMarshaller

public SetMarshaller()
Method Detail

doesMarshal

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

addItemsToReturnValue

protected void addItemsToReturnValue(ChainOfResponsibility chainOfResponsibility,
                                     MarshallingContext context,
                                     ClassSource classSource,
                                     Object object,
                                     ArrayList codeLines)
                              throws IOException,
                                     IllegalAccessException,
                                     InvocationTargetException,
                                     ClassNotFoundException,
                                     InstantiationException
Specified by:
addItemsToReturnValue in class CollectionMarshaller
IOException
IllegalAccessException
InvocationTargetException
ClassNotFoundException
InstantiationException