org.sonatype.gshell.util.converter.collections
Class SetConverter

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.sonatype.gshell.util.converter.ConverterSupport
          extended by org.sonatype.gshell.util.converter.collections.CollectionConverterSupport
              extended by org.sonatype.gshell.util.converter.collections.SetConverter
All Implemented Interfaces:
PropertyEditor, Converter

public class SetConverter
extends CollectionConverterSupport

Converter for Set types.

Since:
2.0

Constructor Summary
SetConverter()
           
 
Method Summary
protected  Object createCollection(List list)
           
 
Methods inherited from class org.sonatype.gshell.util.converter.collections.CollectionConverterSupport
convertToObject, convertToString
 
Methods inherited from class org.sonatype.gshell.util.converter.ConverterSupport
getAsText, getType, getValue, setAsText, setValue, toObject, toString
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
 

Constructor Detail

SetConverter

public SetConverter()
Method Detail

createCollection

protected Object createCollection(List list)
                           throws Exception
Specified by:
createCollection in class CollectionConverterSupport
Throws:
Exception


Copyright © 2008-2011 Sonatype. All Rights Reserved.