Package no.hasmac.jsonld.lang
Class BlankNode
java.lang.Object
no.hasmac.jsonld.lang.BlankNode
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returnstrue
if the given value starts with a blank node prefix '_:
'.static boolean
isWellFormed
(String blankNodeId) BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U | [0-9]) ((PN_CHARS | '.')* PN_CHARS)?
-
Constructor Details
-
BlankNode
private BlankNode()
-
-
Method Details
-
hasPrefix
Returnstrue
if the given value starts with a blank node prefix '_:
'.- Parameters:
value
- to check- Returns:
true
if the give value has blank node prefix
-
isWellFormed
BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U | [0-9]) ((PN_CHARS | '.')* PN_CHARS)?- Parameters:
blankNodeId
- to check- Returns:
true
if the provided string is well formed blank node identifier- See Also:
-