public final class Values extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.openrdf.model.Literal |
FALSE
Global constant for the literal with the value of boolean false
|
static org.openrdf.model.Literal |
TRUE
Global constant for the literal with the value of boolean true
|
| Modifier and Type | Method and Description |
|---|---|
static org.openrdf.model.BNode |
bnode() |
static org.openrdf.model.BNode |
bnode(String theId) |
static org.openrdf.model.IRI |
iri(String uri) |
static org.openrdf.model.IRI |
iri(String nameSpace,
String localName) |
static boolean |
isValid(org.openrdf.model.Literal theLiteral)
Verifies that the given literal is valid.
|
static boolean |
isValid(org.openrdf.model.Value theValue)
Verifies that the given value is valid.
|
static org.openrdf.model.Literal |
literal(BigDecimal theDecimal) |
static org.openrdf.model.Literal |
literal(BigInteger theInt) |
static org.openrdf.model.Literal |
literal(boolean theBoolean) |
static org.openrdf.model.Literal |
literal(byte theByte) |
static org.openrdf.model.Literal |
literal(double theDouble) |
static org.openrdf.model.Literal |
literal(Duration theDuration) |
static org.openrdf.model.Literal |
literal(Duration theDuration,
org.openrdf.model.IRI theDurationDatatype) |
static org.openrdf.model.Value |
literal(Duration theResultDuration,
StardogValueFactory.Datatype theDurationType) |
static org.openrdf.model.Literal |
literal(float theFloat) |
static org.openrdf.model.Literal |
literal(GregorianCalendar theDate) |
static org.openrdf.model.Literal |
literal(int theInt) |
static org.openrdf.model.Literal |
literal(int theInt,
StardogValueFactory.Datatype theDatatype) |
static org.openrdf.model.Literal |
literal(long theLong) |
static org.openrdf.model.Literal |
literal(long theValue,
StardogValueFactory.Datatype theDatatype) |
static org.openrdf.model.Literal |
literal(short theShort) |
static org.openrdf.model.Literal |
literal(String theLabel) |
static org.openrdf.model.Literal |
literal(String theLabel,
org.openrdf.model.IRI theDatatype) |
static org.openrdf.model.Literal |
literal(String theLabel,
StardogValueFactory.Datatype theDatatype) |
static org.openrdf.model.Literal |
literal(String theLabel,
String theLang) |
static org.openrdf.model.Literal |
literal(XMLGregorianCalendar theCalendar) |
static org.openrdf.model.Literal |
literal(XMLGregorianCalendar theCalendar,
org.openrdf.model.IRI theDatatype) |
static org.openrdf.model.Literal |
literal(XMLGregorianCalendar theCalendar,
StardogValueFactory.Datatype theDatatype) |
static org.openrdf.model.Namespace |
namespace(String thePrefix,
String theNamespace) |
static org.openrdf.model.Statement |
statement(org.openrdf.model.Resource subject,
org.openrdf.model.IRI predicate,
org.openrdf.model.Value object) |
static org.openrdf.model.Statement |
statement(org.openrdf.model.Resource subject,
org.openrdf.model.IRI predicate,
org.openrdf.model.Value object,
org.openrdf.model.Resource context) |
public static final org.openrdf.model.Literal TRUE
public static final org.openrdf.model.Literal FALSE
public static org.openrdf.model.IRI iri(String uri)
public static org.openrdf.model.BNode bnode()
public static org.openrdf.model.BNode bnode(String theId)
public static org.openrdf.model.Literal literal(String theLabel)
public static org.openrdf.model.Literal literal(String theLabel, org.openrdf.model.IRI theDatatype)
public static org.openrdf.model.Literal literal(String theLabel, StardogValueFactory.Datatype theDatatype)
public static org.openrdf.model.Literal literal(boolean theBoolean)
public static org.openrdf.model.Literal literal(byte theByte)
public static org.openrdf.model.Literal literal(short theShort)
public static org.openrdf.model.Literal literal(int theInt)
public static org.openrdf.model.Literal literal(int theInt,
StardogValueFactory.Datatype theDatatype)
public static org.openrdf.model.Literal literal(long theLong)
public static org.openrdf.model.Literal literal(long theValue,
StardogValueFactory.Datatype theDatatype)
public static org.openrdf.model.Literal literal(float theFloat)
public static org.openrdf.model.Literal literal(double theDouble)
public static org.openrdf.model.Literal literal(BigDecimal theDecimal)
public static org.openrdf.model.Literal literal(BigInteger theInt)
public static org.openrdf.model.Literal literal(XMLGregorianCalendar theCalendar)
public static org.openrdf.model.Literal literal(XMLGregorianCalendar theCalendar, org.openrdf.model.IRI theDatatype)
public static org.openrdf.model.Literal literal(XMLGregorianCalendar theCalendar, StardogValueFactory.Datatype theDatatype)
public static org.openrdf.model.Literal literal(GregorianCalendar theDate)
public static org.openrdf.model.Literal literal(Duration theDuration)
public static org.openrdf.model.Literal literal(Duration theDuration, org.openrdf.model.IRI theDurationDatatype)
public static org.openrdf.model.Statement statement(org.openrdf.model.Resource subject,
org.openrdf.model.IRI predicate,
org.openrdf.model.Value object)
public static org.openrdf.model.Statement statement(org.openrdf.model.Resource subject,
org.openrdf.model.IRI predicate,
org.openrdf.model.Value object,
org.openrdf.model.Resource context)
public static org.openrdf.model.Namespace namespace(String thePrefix, String theNamespace)
public static boolean isValid(org.openrdf.model.Literal theLiteral)
theLiteral - the literal to validatepublic static boolean isValid(org.openrdf.model.Value theValue)
theValue - the value to validatepublic static org.openrdf.model.Value literal(Duration theResultDuration, StardogValueFactory.Datatype theDurationType)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.