Class OgcNameValidator

java.lang.Object
org.opengis.cite.ogcapifeatures10.util.OgcNameValidator

public class OgcNameValidator extends Object

OgcNameValidator class.

Author:
Lyn Goltz
  • Constructor Details

    • OgcNameValidator

      public OgcNameValidator()
  • Method Details

    • isValid

      public boolean isValid(String urn)
      Checks if the passed urn is a valid urn according OGC Name Type Specification - definitions - part 1 – basic name (https://docs.opengeospatial.org/pol/09-048r5.html)
      Parameters:
      urn - the urn to check, null results in a invalid URN.
      Returns:
      true if the urn is valid according to OGC Name Type Specification - definitions - part 1 – basic name, false if the urn is null, empty or not valid.