protected OwsDomain getEnvelopeParameter(Enum<?> name, Collection<String> featureIDs) { if (featureIDs != null && !featureIDs.isEmpty()) { ReferencedEnvelope envelope = getCache().getGlobalEnvelope(); if (envelope != null && envelope.isSetEnvelope()) { return new OwsDomain(name, new OwsAllowedValues(SosHelper.getOwsRangeFromEnvelope(envelope.getEnvelope()))); } } return new OwsDomain(name, OwsAnyValue.instance()); }