public class JenaDatatypes extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.jena.rdf.model.Literal |
FALSE |
static org.apache.jena.rdf.model.Literal |
TRUE |
| Constructor and Description |
|---|
JenaDatatypes() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Literal |
createDecimal(int value) |
static org.apache.jena.rdf.model.Literal |
createInteger(int value) |
static List<String> |
getDatatypeURIs()
Gets a List of all datatype URIs.
|
static boolean |
isNumeric(String datatypeURI)
Checks if a given URI is a numeric datatype URI.
|
static boolean |
isSystemDatatype(org.apache.jena.rdf.model.RDFNode node)
Checks if a given RDFNode represents a system XSD datatype such as xsd:int.
|
public static final org.apache.jena.rdf.model.Literal FALSE
public static final org.apache.jena.rdf.model.Literal TRUE
public static org.apache.jena.rdf.model.Literal createDecimal(int value)
public static org.apache.jena.rdf.model.Literal createInteger(int value)
public static List<String> getDatatypeURIs()
public static boolean isNumeric(String datatypeURI)
datatypeURI - the URI of the datatype to testpublic static boolean isSystemDatatype(org.apache.jena.rdf.model.RDFNode node)
node - the node to testCopyright © 2017 TopQuadrant, Inc.. All rights reserved.