InputType
- The type of input that can be converted to a textual form.OutputType
- The type of textual output of the converter. Must implement the
Textual
interface.public abstract class AbstractMultiTextualConverter<InputType,OutputType extends Textual> extends AbstractTextualConverter<InputType,OutputType> implements MultiTextualConverter<InputType,OutputType>
MultiTextualConverter
interface.Constructor and Description |
---|
AbstractMultiTextualConverter()
Creates a new
AbstractMultiTextualConverter . |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<OutputType> |
convert(InputType input)
Convert the input object into zero or more textual objects.
|
java.lang.Iterable<OutputType> |
convertAll(java.lang.Iterable<? extends InputType> inputs)
Convert the given input objects into zero or more textual objects.
|
clone
public AbstractMultiTextualConverter()
AbstractMultiTextualConverter
.public java.lang.Iterable<OutputType> convert(InputType input)
MultiTextualConverter
convert
in interface MultiTextualConverter<InputType,OutputType extends Textual>
input
- The input to convert.public java.lang.Iterable<OutputType> convertAll(java.lang.Iterable<? extends InputType> inputs)
TextualConverter
convert
methods.convertAll
in interface TextualConverter<InputType,OutputType extends Textual>
inputs
- The inputs to convert.