public class NodeFunctions extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
warningsForIRIs |
Constructor and Description |
---|
NodeFunctions() |
Modifier and Type | Method and Description |
---|---|
static Node |
checkAndGetStringLiteral(String label,
NodeValue nv)
check and get a string (may be a simple literal, literal with language tag or an XSD string).
|
static void |
checkTwoArgumentStringLiterals(String label,
NodeValue arg1,
NodeValue arg2)
Check for string operations with primary first arg and second second arg (e.g.
|
static Node |
datatype(Node node) |
static NodeValue |
datatype(NodeValue nv) |
static Node |
iri(Node nv,
String baseIRI) |
static NodeValue |
iri(NodeValue nv,
String baseIRI) |
static boolean |
isBlank(Node node) |
static NodeValue |
isBlank(NodeValue nv) |
static boolean |
isIRI(Node node) |
static NodeValue |
isIRI(NodeValue nv) |
static boolean |
isLiteral(Node node) |
static NodeValue |
isLiteral(NodeValue nv) |
static boolean |
isURI(Node node) |
static NodeValue |
isURI(NodeValue nv) |
static String |
lang(Node node) |
static NodeValue |
lang(NodeValue nv) |
static NodeValue |
langMatches(NodeValue nv,
NodeValue nvPattern) |
static NodeValue |
langMatches(NodeValue nv,
String langPattern) |
static boolean |
rdfTermEquals(Node n1,
Node n2) |
static NodeValue |
rdfTermEquals(NodeValue nv1,
NodeValue nv2) |
static boolean |
sameTerm(Node n1,
Node n2) |
static NodeValue |
sameTerm(NodeValue nv1,
NodeValue nv2) |
static String |
str(Node node) |
static NodeValue |
str(NodeValue nv) |
static NodeValue |
strDatatype(NodeValue v1,
NodeValue v2) |
static NodeValue |
strLang(NodeValue v1,
NodeValue v2) |
static NodeValue |
struuid() |
static NodeValue |
uuid() |
public static Node checkAndGetStringLiteral(String label, NodeValue nv)
public static void checkTwoArgumentStringLiterals(String label, NodeValue arg1, NodeValue arg2)
public static boolean isIRI(Node node)
public static boolean isURI(Node node)
public static boolean isBlank(Node node)
public static boolean isLiteral(Node node)
public static NodeValue struuid()
public static NodeValue uuid()
Licenced under the Apache License, Version 2.0