Class BlankNode
java.lang.Object
no.hasmac.jsonld.lang.BlankNode
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturnstrueif the given value starts with a blank node prefix '_:'.static booleanisWellFormed(String blankNodeId) BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U | [0-9]) ((PN_CHARS | '.')* PN_CHARS)?
-
Constructor Details
-
BlankNode
private BlankNode()
-
-
Method Details
-
hasPrefix
Returnstrueif the given value starts with a blank node prefix '_:'.- Parameters:
value- to check- Returns:
trueif 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:
trueif the provided string is well formed blank node identifier- See Also:
-