public class ParsingArrayExtractor<X> extends Object implements ArgumentExtractor<X>
| Constructor and Description |
|---|
ParsingArrayExtractor(ArgumentExtractor<? extends String[]> wrapped,
ParamParsers.ArrayParamParser<?> parser) |
| Modifier and Type | Method and Description |
|---|---|
X |
extract(Context context)
Extract the argument from the context
|
Class<X> |
getExtractedType()
Get the type of the argument that is extracted
|
String |
getFieldName()
Get the field name that is being extracted, if this value is
extracted from a field
|
public ParsingArrayExtractor(ArgumentExtractor<? extends String[]> wrapped, ParamParsers.ArrayParamParser<?> parser)
public X extract(Context context)
ArgumentExtractorextract in interface ArgumentExtractor<X>context - The argument to extractpublic Class<X> getExtractedType()
ArgumentExtractorgetExtractedType in interface ArgumentExtractor<X>public String getFieldName()
ArgumentExtractorgetFieldName in interface ArgumentExtractor<X>Copyright © 2019 ninjaframework. All rights reserved.