Search in sources :

Example 6 with OwsPossibleValues

use of org.n52.shetland.ogc.ows.OwsPossibleValues 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

OwsDomain (org.n52.shetland.ogc.ows.OwsDomain)6 OwsPossibleValues (org.n52.shetland.ogc.ows.OwsPossibleValues)6 OwsAllowedValues (org.n52.shetland.ogc.ows.OwsAllowedValues)5 OwsValue (org.n52.shetland.ogc.ows.OwsValue)5 LocaleHelper (org.n52.janmayen.i18n.LocaleHelper)2 OwsDomainMetadata (org.n52.shetland.ogc.ows.OwsDomainMetadata)2 OwsMetadata (org.n52.shetland.ogc.ows.OwsMetadata)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 Objects (java.util.Objects)1 Optional (java.util.Optional)1