Search in sources :

Example 6 with OwsAllowedValues

use of org.n52.shetland.ogc.ows.OwsAllowedValues in project arctic-sea by 52North.

the class AbstractGetCapabilitiesHandler method getAcceptFormatsDomain.

private OwsDomain getAcceptFormatsDomain() {
    OwsValue defaultValue = new OwsValue(MediaTypes.APPLICATION_XML.toString());
    OwsPossibleValues possibleValues = new OwsAllowedValues(defaultValue);
    return new OwsDomain(GetCapabilitiesParams.AcceptFormats, possibleValues, defaultValue);
}
Also used : OwsDomain(org.n52.shetland.ogc.ows.OwsDomain) OwsAllowedValues(org.n52.shetland.ogc.ows.OwsAllowedValues) OwsPossibleValues(org.n52.shetland.ogc.ows.OwsPossibleValues) OwsValue(org.n52.shetland.ogc.ows.OwsValue)

Aggregations

OwsAllowedValues (org.n52.shetland.ogc.ows.OwsAllowedValues)6 OwsDomain (org.n52.shetland.ogc.ows.OwsDomain)6 OwsPossibleValues (org.n52.shetland.ogc.ows.OwsPossibleValues)5 OwsValue (org.n52.shetland.ogc.ows.OwsValue)5 LocaleHelper (org.n52.janmayen.i18n.LocaleHelper)2 Joiner (com.google.common.base.Joiner)1 Sets (com.google.common.collect.Sets)1 SuppressFBWarnings (edu.umd.cs.findbugs.annotations.SuppressFBWarnings)1 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 PrintStream (java.io.PrintStream)1 URI (java.net.URI)1 ArrayList (java.util.ArrayList)1 Collections (java.util.Collections)1 List (java.util.List)1 Locale (java.util.Locale)1 Map (java.util.Map)1 Optional (java.util.Optional)1 Set (java.util.Set)1 SortedSet (java.util.SortedSet)1 Supplier (java.util.function.Supplier)1