hudson.plugins.analysis.util.model
Class LineRangeList.ConverterImpl

java.lang.Object
  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
      extended by com.thoughtworks.xstream.converters.collections.CollectionConverter
          extended by hudson.util.RobustCollectionConverter
              extended by hudson.plugins.analysis.util.model.LineRangeList.ConverterImpl
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
Enclosing class:
LineRangeList

public static final class LineRangeList.ConverterImpl
extends hudson.util.RobustCollectionConverter

Converter implementation for XStream.


Constructor Summary
LineRangeList.ConverterImpl(com.thoughtworks.xstream.XStream xs)
           
 
Method Summary
 boolean canConvert(Class type)
           
protected  Object createCollection(Class type)
           
protected  void populateCollection(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Collection collection)
           
 
Methods inherited from class hudson.util.RobustCollectionConverter
unmarshal
 
Methods inherited from class com.thoughtworks.xstream.converters.collections.CollectionConverter
addCurrentElementToCollection, marshal, populateCollection
 
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
mapper, readItem, writeItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineRangeList.ConverterImpl

public LineRangeList.ConverterImpl(com.thoughtworks.xstream.XStream xs)
Method Detail

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Overrides:
canConvert in class hudson.util.RobustCollectionConverter

populateCollection

protected void populateCollection(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                  com.thoughtworks.xstream.converters.UnmarshallingContext context,
                                  Collection collection)
Overrides:
populateCollection in class hudson.util.RobustCollectionConverter

createCollection

protected Object createCollection(Class type)
Overrides:
createCollection in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter


Copyright © 2004-2012 Hudson. All Rights Reserved.