Package ubic.gemma.rest.util.args
Class TaxonArrayArg
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<List<T>>
-
- ubic.gemma.rest.util.args.AbstractArrayArg<String>
-
- ubic.gemma.rest.util.args.AbstractEntityArrayArg<Taxon,TaxonService>
-
- ubic.gemma.rest.util.args.TaxonArrayArg
-
public class TaxonArrayArg extends AbstractEntityArrayArg<Taxon,TaxonService>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaxonArrayArg
valueOf(String s)
Used by RS to parse value of request parameters.-
Methods inherited from class ubic.gemma.rest.util.args.AbstractArrayArg
splitAndTrim
-
Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
-
-
-
Method Detail
-
valueOf
public static TaxonArrayArg valueOf(String s)
Used by RS to parse value of request parameters.- Parameters:
s
- the request arrayTaxon argument- Returns:
- an instance of ArrayTaxonArg representing an array of Taxon identifiers from the input string, or a
malformed ArrayTaxonArg that will throw an
BadRequestException
when accessing its value, if the input String can not be converted into an array of Taxon identifiers.
-
-