Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
static BlankNode |
createBlankNode() |
static BlankNode |
createBlankNode(String value) |
static DatatypeLiteral |
createDataTypeLiteral(String arg0,
URI arg1) |
static LanguageTagLiteral |
createLanguageTagLiteral(String arg0,
String arg1) |
static PlainLiteral |
createPlainliteral(String arg0) |
static Statement |
createStatement(Resource subject,
URI predicate,
Node object) |
static TriplePattern |
createTriplePattern(ResourceOrVariable subject,
UriOrVariable predicate,
NodeOrVariable object) |
static URI |
createURI(String uri) |
static Model |
getModel() |
static void |
setModelFactory(String modelFactoryClass) |
static Node |
toObject(String object)
Parses a specified object as String in order to create a new object using
RDF2Go types.
|
static URI |
toPredicate(String predicate)
Parses a specified predicate as String in order to create a new predicate
using RDF2Go types.
|
static Statement |
toStatement(String subject,
String predicate,
String object)
Parses a single statement from a given Statement as a triple of Strings.
|
static Resource |
toSubject(String subject)
Parses a specified subject as String in order to create a new subject
using RDF2Go types.
|
public static BlankNode createBlankNode()
public static DatatypeLiteral createDataTypeLiteral(String arg0, URI arg1)
public static LanguageTagLiteral createLanguageTagLiteral(String arg0, String arg1)
public static PlainLiteral createPlainliteral(String arg0)
public static Statement createStatement(Resource subject, URI predicate, Node object)
public static TriplePattern createTriplePattern(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)
public static Resource toSubject(String subject)
subject
- the subject to parse.NullPointerException
- if subject is null.public static URI toPredicate(String predicate)
predicate
- the predicate to parse.NullPointerException
- if predicate is null.public static Node toObject(String object)
object
- the object to parse.NullPointerException
- if object is null.public static Statement toStatement(String subject, String predicate, String object)
subject
- must be a blank node or URI.predicate
- must be a valid URI.object
- must be must be a valid URI, blank node or literal.Statement
.NullPointerException
- if triple is not valid.public static Model getModel()
public static void setModelFactory(String modelFactoryClass)
Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.