ca.quine.jcommons.sourceexporter
Class MapMarshaller

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

public class MapMarshaller
extends CollectionMarshaller

Marshals a map into source code.


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

MapMarshaller

public MapMarshaller()
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