Package org.opengis.cite.ogcapifeatures10.util

# Class OgcNameValidator

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

public class OgcNameValidator extends Object

OgcNameValidator class.

Author:
  Lyn Goltz

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OgcNameValidator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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)

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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.