org.opengis.cite.ogcapifeatures10.util

## Class OgcNameValidator

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

-     public class OgcNameValidator
      extends Object

  Author:
    Lyn Goltz

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OgcNameValidator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### OgcNameValidator

          public OgcNameValidator()

  - ### Method Detail

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

Copyright © 2022 Open Geospatial Consortium. All rights reserved.