AdaptingIterator.Adapter<T,A>| Constructor and Description |
|---|
TextIterator(ValueFactory valueFactory,
Iterator<Object> it,
String... languages)
Creates an instance that iterates over values and returns
Text
instances that confirm to the active languages. |
public TextIterator(ValueFactory valueFactory, Iterator<Object> it, String... languages)
Text
instances that confirm to the active languages. If no languages are parsed
or null is parsed as a language, this Iterator also creates
and returns Text instances for String values.valueFactory - the factory used to create text instances for String valuesit - the iteratorlanguages - The active languages or no values to accept all languagesCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.