public class PropertyValueTests extends DataFixture
Modifier and Type | Class and Description |
---|---|
(package private) class |
PropertyValueTests.GMLEventFilter
An EventFilter that accepts GML elements specified by (local) name.
|
dataFile, model
Constructor and Description |
---|
PropertyValueTests() |
Modifier and Type | Method and Description |
---|---|
void |
validateLocationName()
[
@Test ] If a gml:locationName property has a codeSpace attribute,
then the attribute value must identify a controlled list (that includes
the location name). |
void |
validateLocationReference()
[
@Test ] The gml:locationReference property must include the
xlink:href attribute. |
generateXPathExpression, initDataFixture, setDataFile, setSchemaModel
public void validateLocationName() throws FileNotFoundException, MalformedURLException
@Test
] If a gml:locationName property has a codeSpace attribute,
then the attribute value must identify a controlled list (that includes
the location name). The list resource must be available, but no
particular format is assumed.
Sources
FileNotFoundException
- If no data file is found.MalformedURLException
- If the codeSpace value is a malformed URL.public void validateLocationReference() throws FileNotFoundException, MalformedURLException
@Test
] The gml:locationReference property must include the
xlink:href attribute. When the URI value is dereferenced the result must
be a text value (that purports to describe the location of the feature).
Sources
FileNotFoundException
- If no data file is found.MalformedURLException
- If a location reference is a malformed URL.Copyright © 2020 Open Geospatial Consortium. All rights reserved.