Package no.hasmac.jsonld.uri
Class PartiallyImplementedUriValidator
java.lang.Object
no.hasmac.jsonld.uri.PartiallyImplementedUriValidator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean[]
private static final String
private static final String
private static final boolean[]
private static final String
private static final boolean[]
private static final boolean[]
private static final boolean[]
private static final boolean[]
private static final String
private static final boolean[]
private static final boolean[]
private static final boolean[]
private static final boolean[]
private static final boolean[]
private static final boolean[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
private static boolean
private static boolean
noMoreCodepoints
(int codePointCount, int index) private static boolean[]
-
Field Details
-
ALPHA_STRING
- See Also:
-
ALPHA_STRING_UPPER_CASE
-
DIGIT_STRING
- See Also:
-
PCHAR_EXCEPT_PCT_ENDODED_STRING
-
ALPHA
private static final boolean[] ALPHA -
COLON
private static final boolean[] COLON -
SLASH
private static final boolean[] SLASH -
QUERY_START
private static final boolean[] QUERY_START -
FRAGMENT_START
private static final boolean[] FRAGMENT_START -
PCT_ENCODED_START
private static final boolean[] PCT_ENCODED_START -
HEXDIG
private static final boolean[] HEXDIG -
PCHAR_EXCEPT_PCT_ENCODED
private static final boolean[] PCHAR_EXCEPT_PCT_ENCODED -
FRAGMENT
private static final boolean[] FRAGMENT -
QUERY
private static final boolean[] QUERY -
SCHEME
private static final boolean[] SCHEME -
UNRESERVED
private static final boolean[] UNRESERVED
-
-
Constructor Details
-
PartiallyImplementedUriValidator
public PartiallyImplementedUriValidator()
-
-
Method Details
-
toBooleanArray
-
isDefinitivelyValidAbsoluteUri
- Parameters:
uri
-- Returns:
- may return false even though the uri is valid and absolute, but will only return true if it is valid and absolute
-
noMoreCodepoints
private static boolean noMoreCodepoints(int codePointCount, int index) -
matches
-