public class CheckerLiterals extends Object implements NodeChecker
Modifier and Type | Field and Description |
---|---|
static boolean |
WarnOnBadLiterals |
Constructor and Description |
---|
CheckerLiterals(ErrorHandler handler) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Node node,
long line,
long col) |
static boolean |
checkLiteral(Node node,
ErrorHandler handler,
long line,
long col) |
static boolean |
checkLiteral(String lexicalForm,
RDFDatatype datatype,
ErrorHandler handler,
long line,
long col) |
static boolean |
checkLiteral(String lexicalForm,
String lang,
ErrorHandler handler,
long line,
long col) |
static boolean |
checkLiteral(String lexicalForm,
String lang,
RDFDatatype datatype,
ErrorHandler handler,
long line,
long col) |
public CheckerLiterals(ErrorHandler handler)
public boolean check(Node node, long line, long col)
check
in interface NodeChecker
public static boolean checkLiteral(Node node, ErrorHandler handler, long line, long col)
public static boolean checkLiteral(String lexicalForm, RDFDatatype datatype, ErrorHandler handler, long line, long col)
public static boolean checkLiteral(String lexicalForm, String lang, ErrorHandler handler, long line, long col)
public static boolean checkLiteral(String lexicalForm, String lang, RDFDatatype datatype, ErrorHandler handler, long line, long col)
Licenced under the Apache License, Version 2.0