Class UrnValidator
java.lang.Object
org.opengis.cite.ogcapifeatures10.util.UrnValidator
https://github.com/BruceZu/broken_colored_glass/blob/master/project/src/main/java/URN8141.java
- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UrnValidator
public UrnValidator()
-
-
Method Details
-
isValid
Checks if the passed urn is a valid urn according RFC 8141, Section 2 (https://tools.ietf.org/html/rfc8141#section-2)- Parameters:
urn
- the urn to check,null
results in a invalid URN.- Returns:
true
if the urn is valid according to RFC 8141, Section 2,false
if the urn is null, empty or not valid.
-