Search in sources :

Example 11 with SchemaLocation

use of org.n52.shetland.w3c.SchemaLocation in project arctic-sea by 52North.

the class FesEncoderv20Test method should_return_correct_schema_location.

@Test
public final void should_return_correct_schema_location() {
    assertThat(fesEncoder.getSchemaLocations().size(), is(1));
    final SchemaLocation schemLoc = fesEncoder.getSchemaLocations().iterator().next();
    assertThat(schemLoc.getNamespace(), is("http://www.opengis.net/fes/2.0"));
    assertThat(schemLoc.getSchemaFileUrl(), is("http://schemas.opengis.net/filter/2.0/filterAll.xsd"));
}
Also used : SchemaLocation(org.n52.shetland.w3c.SchemaLocation) Test(org.junit.Test)

Aggregations

SchemaLocation (org.n52.shetland.w3c.SchemaLocation)5 XmlObject (org.apache.xmlbeans.XmlObject)3 Test (org.junit.Test)3 ObservationStream (org.n52.shetland.ogc.om.ObservationStream)2 OmObservation (org.n52.shetland.ogc.om.OmObservation)2 OwsExceptionReport (org.n52.shetland.ogc.ows.exception.OwsExceptionReport)2 DataAvailability (org.n52.shetland.ogc.sos.gda.GetDataAvailabilityResponse.DataAvailability)2 EncodingException (org.n52.svalbard.encode.exception.EncodingException)2 NoSuchElementException (java.util.NoSuchElementException)1 OMObservationDocument (net.opengis.om.x20.OMObservationDocument)1 CollectionDocument (net.opengis.waterml.x20.CollectionDocument)1 CollectionType (net.opengis.waterml.x20.CollectionType)1 XmlString (org.apache.xmlbeans.XmlString)1 EReportingHeader (org.n52.shetland.aqd.EReportingHeader)1 AbstractFeature (org.n52.shetland.ogc.gml.AbstractFeature)1 CodeWithAuthority (org.n52.shetland.ogc.gml.CodeWithAuthority)1 FeatureCollection (org.n52.shetland.ogc.om.features.FeatureCollection)1 AbstractSamplingFeature (org.n52.shetland.ogc.om.features.samplingFeatures.AbstractSamplingFeature)1 WmlMonitoringPoint (org.n52.shetland.ogc.om.series.wml.WmlMonitoringPoint)1 CodedException (org.n52.shetland.ogc.ows.exception.CodedException)1