public static interface CodeList.Filter
CodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion.
Departure from OGC/ISO specification:
CodeList.Filterinterface is not part of the OGC specification. It has been added because
CodeListis one of the few concrete classes in GeoAPI and there is a need to give some user control over the behavior of the
boolean accept(CodeList<?> code)
trueif the given code matches the criterion defined by this filter.
code- The code to test.
trueif the code matches the criterion.
nullif unknown. This method is invoked by
CodeList.valueOf(Class, Filter)if no code match the criterion defined by this filter. In such case, there is a choice:
Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.