org.codehaus.plexus.configuration.xstream
Class CollectionConverter

java.lang.Object
  extended bycom.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
      extended byorg.codehaus.plexus.configuration.xstream.CollectionConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter

public class CollectionConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter


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

Constructor Detail

CollectionConverter

public CollectionConverter(com.thoughtworks.xstream.alias.ClassMapper classMapper)
Method Detail

canConvert

public boolean canConvert(java.lang.Class type)

readItem

protected java.lang.Object readItem(com.thoughtworks.xstream.xml.XMLReader xmlReader,
                                    com.thoughtworks.xstream.objecttree.ObjectTree objectGraph,
                                    com.thoughtworks.xstream.converters.ConverterLookup converterLookup)

toXML

public void toXML(com.thoughtworks.xstream.objecttree.ObjectTree objectGraph,
                  com.thoughtworks.xstream.xml.XMLWriter xmlWriter,
                  com.thoughtworks.xstream.converters.ConverterLookup converterLookup)

fromXML

public void fromXML(com.thoughtworks.xstream.objecttree.ObjectTree objectGraph,
                    com.thoughtworks.xstream.xml.XMLReader xmlReader,
                    com.thoughtworks.xstream.converters.ConverterLookup converterLookup,
                    java.lang.Class requiredType)