Package io.urf.surf
Class SURF.Tag
- java.lang.Object
-
- io.urf.surf.SURF.Tag
-
- Enclosing class:
- SURF
public static final class SURF.Tag extends java.lang.ObjectUtilities for working with SURF tags.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URIcheckArgumentValid(java.net.URI tag)Ensures that the given URI is a valid resource tag.
-
-
-
Method Detail
-
checkArgumentValid
public static java.net.URI checkArgumentValid(@Nonnull java.net.URI tag)Ensures that the given URI is a valid resource tag.Primarily this ensures that the given URI is absolute and does not contain a fragment.
- Parameters:
tag- The tag to validate.- Returns:
- The given tag.
- Throws:
java.lang.NullPointerException- if the given tag isnull.java.lang.IllegalArgumentException- if the given URI is not a valid SURF tag.
-
-