java.lang.Object
gg.xp.xivapi.mappers.objects.ListFieldMapper<X>
- Type Parameters:
X- The list type (e.g. List of String, not String)
- All Implemented Interfaces:
FieldMapper<List<X>>
Mapper for list types.
This respects the OmitZeroes annotation, either on the method or the parameter type. If provided, then the
list will not contain any elements for which their XivApiObject.isZero() method returns true. By default,
this is when the row_id is zero. Note that using this with a non XivApiObject type will throw an exception.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildQueryFields(QueryFieldsBuilder parent) getValue(com.fasterxml.jackson.databind.JsonNode current, XivApiContext context)
-
Constructor Details
-
ListFieldMapper
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceFieldMapper<X>
-
buildQueryFields
- Specified by:
buildQueryFieldsin interfaceFieldMapper<X>
-