ca.quine.jcommons.sourceexporter
Class ListMarshaller

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

public class ListMarshaller
extends CollectionMarshaller

Marshals a list to source code.


Constructor Summary
ListMarshaller()
           
 
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

ListMarshaller

public ListMarshaller()
Method Detail

doesMarshal

public boolean doesMarshal(Object object)
Specified by:
doesMarshal in class CollectionMarshaller
See Also:
SourceMarshaller.doesMarshal(java.lang.Object)

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