Class AbstractSetConverter<S extends Set>
- java.lang.Object
-
- org.xwiki.properties.converter.AbstractConverter<T>
-
- org.xwiki.properties.converter.collection.AbstractCollectionConverter<S>
-
- 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 allSet
converters.- Since:
- 5.2M1
- Version:
- $Id: 0e66c8afeaa03c1a602e3dc70fc0e2e27f581e7a $
-
-
Field Summary
-
Fields inherited from class org.xwiki.properties.converter.collection.AbstractCollectionConverter
QUOTECHAR, QUOTESTRING
-
-
Constructor Summary
Constructors Constructor Description AbstractSetConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <G extends S>
SnewCollection(Type targetType)
-
Methods inherited from class org.xwiki.properties.converter.collection.AbstractCollectionConverter
convertToString, convertToType, createStreamTokenizer, fromArray, fromIterable, getConverterManager, getDelimiters, parseElements, setDelimiters
-
Methods inherited from class org.xwiki.properties.converter.AbstractConverter
convert, convertToType
-
-
-
-
Method Detail
-
newCollection
protected <G extends S> S newCollection(Type targetType)
- Overrides:
newCollection
in classAbstractCollectionConverter<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
-
-