com.thoughtworks.xstream.converters.collections
Class MapConverter

java.lang.Object
  |
  +--com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
        |
        +--com.thoughtworks.xstream.converters.collections.MapConverter
All Implemented Interfaces:
Converter

public class MapConverter
extends AbstractCollectionConverter


Field Summary
 
Fields inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
classMapper
 
Constructor Summary
MapConverter(ClassMapper classMapper)
           
 
Method Summary
 boolean canConvert(java.lang.Class type)
           
 void fromXML(ObjectTree objectGraph, XMLReader xmlReader, ConverterLookup converterLookup, java.lang.Class requiredType)
           
 void toXML(ObjectTree objectGraph, XMLWriter xmlWriter, ConverterLookup converterLookup)
           
 
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, readItem, writeItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapConverter

public MapConverter(ClassMapper classMapper)
Method Detail

canConvert

public boolean canConvert(java.lang.Class type)
Specified by:
canConvert in interface Converter
Specified by:
canConvert in class AbstractCollectionConverter

toXML

public void toXML(ObjectTree objectGraph,
                  XMLWriter xmlWriter,
                  ConverterLookup converterLookup)
Specified by:
toXML in interface Converter
Specified by:
toXML in class AbstractCollectionConverter

fromXML

public void fromXML(ObjectTree objectGraph,
                    XMLReader xmlReader,
                    ConverterLookup converterLookup,
                    java.lang.Class requiredType)
Specified by:
fromXML in interface Converter
Specified by:
fromXML in class AbstractCollectionConverter


Copyright © 2003 ThoughtWorks, Inc. All Rights Reserved.