Constructor and Description |
---|
UrnValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String urn)
Checks if the passed urn is a valid urn according RFC 8141, Section 2
(https://tools.ietf.org/html/rfc8141#section-2)
|
public boolean isValid(String urn)
urn
- the urn to check, null
results in a invalid URN.true
if the urn is valid according to RFC 8141, Section 2, false
if the urn is
null, empty or not valid.Copyright © 2024 Open Geospatial Consortium. All rights reserved.