Package no.hasmac.jsonld.lang
Class Keywords
java.lang.Object
no.hasmac.jsonld.lang.Keywords
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
static boolean
If value has the form of a keyword (i.e., it matches the ABNF rule "@"1*ALPHA from [RFC5234])static boolean
static boolean
static boolean
notAllMatch
(Set<String> values, Set<String> keywords)
-
Field Details
-
ANY
- See Also:
-
BASE
- See Also:
-
CONTAINER
- See Also:
-
CONTEXT
- See Also:
-
DIRECTION
- See Also:
-
GRAPH
- See Also:
-
ID
- See Also:
-
IMPORT
- See Also:
-
INCLUDED
- See Also:
-
INDEX
- See Also:
-
JSON
- See Also:
-
LANGUAGE
- See Also:
-
LIST
- See Also:
-
NEST
- See Also:
-
NONE
- See Also:
-
PREFIX
- See Also:
-
PRESERVE
- See Also:
-
PROPAGATE
- See Also:
-
PROTECTED
- See Also:
-
REVERSE
- See Also:
-
SET
- See Also:
-
TYPE
- See Also:
-
VALUE
- See Also:
-
VERSION
- See Also:
-
VOCAB
- See Also:
-
DEFAULT
- See Also:
-
EMBED
- See Also:
-
ALWAYS
- See Also:
-
ONCE
- See Also:
-
NEVER
- See Also:
-
EXPLICIT
- See Also:
-
NULL
- See Also:
-
OMIT_DEFAULT
- See Also:
-
REQUIRE_ALL
- See Also:
-
MERGED
- See Also:
-
ANNOTATION
- See Also:
-
ALL_KEYWORDS
-
ALL_KEYWORDS_MAX_LENGTH
private static final int ALL_KEYWORDS_MAX_LENGTH -
ALL_KEYWORDS_MIN_LENGTH
private static final int ALL_KEYWORDS_MIN_LENGTH
-
-
Constructor Details
-
Keywords
protected Keywords()
-
-
Method Details
-
contains
-
matchForm
If value has the form of a keyword (i.e., it matches the ABNF rule "@"1*ALPHA from [RFC5234])- Parameters:
value
- to check- Returns:
true
if the provided value has keyword form
-
noneMatch
-
noneMatch
-
anyMatch
-
notAllMatch
-