org.xwiki.properties.converter.collection
Class AbstractSetConverter<S extends Set>

java.lang.Object
  extended by org.xwiki.properties.converter.AbstractConverter<T>
      extended by org.xwiki.properties.converter.collection.AbstractCollectionConverter<S>
          extended by org.xwiki.properties.converter.collection.AbstractSetConverter<S>
Type Parameters:
S - the type in which the provided value has to be converted
All Implemented Interfaces:
Converter<S>

public abstract class AbstractSetConverter<S extends Set>
extends AbstractCollectionConverter<S>

Base class for all Set converters.

Since:
5.2M1
Version:
$Id: 539fdca20366512d93a36f69a5db3e9f708121cc $

Field Summary
 
Fields inherited from class org.xwiki.properties.converter.collection.AbstractCollectionConverter
QUOTECHAR, QUOTESTRING
 
Constructor Summary
AbstractSetConverter()
           
 
Method Summary
protected
<G extends S>
S
newCollection(Type targetType)
           
 
Methods inherited from class org.xwiki.properties.converter.collection.AbstractCollectionConverter
convertToString, convertToType, createStreamTokenizer, getConverterManager, getDelimiters, parseElements, setDelimiters
 
Methods inherited from class org.xwiki.properties.converter.AbstractConverter
convert, convertToType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSetConverter

public AbstractSetConverter()
Method Detail

newCollection

protected <G extends S> S newCollection(Type targetType)
Overrides:
newCollection in class AbstractCollectionConverter<S extends Set>
Type Parameters:
G - the type of the collection to create
Parameters:
targetType - the type of the collection to create
Returns:
the modifiable Collection to fill


Copyright © 2004-2013 XWiki. All Rights Reserved.