Esempio n. 1
0
 /**
  * Answer a typed literal.
  *
  * @param value a java Object, the default RDFDatatype for that object will be used
  * @return a Literal node with that value
  */
 public static Literal createTypedLiteral(Object value) {
   return instance.createTypedLiteral(value);
 }
Esempio n. 2
0
 public static Literal createPlainLiteral(String string) {
   return instance.createPlainLiteral(string);
 }
Esempio n. 3
0
 public static Literal createTypedLiteral(String string, RDFDatatype dType) {
   return instance.createTypedLiteral(string, dType);
 }
Esempio n. 4
0
 /**
  * create a new resource.
  *
  * <p>Uses the current factory object to create a new resource.
  *
  * @param uriref URIREF of the resource
  * @return a new resource
  */
 public static Resource createResource(String uriref) {
   return instance.createResource(uriref);
 }
Esempio n. 5
0
 /**
  * create a new anonymous resource.
  *
  * <p>Uses the current factory object to create a new anonymous resource.
  *
  * @return a new anonymous resource
  */
 public static Resource createResource() {
   return instance.createResource();
 }
Esempio n. 6
0
 /**
  * create a new statement. Uses the current factory object to create a new statement.
  *
  * @param subject the subject of the new statement
  * @param predicate the predicate of the new statement
  * @param object the objectof the new statement
  * @return a new resource
  */
 public static Statement createStatement(Resource subject, Property predicate, RDFNode object) {
   return instance.createStatement(subject, predicate, object);
 }
Esempio n. 7
0
 /**
  * create a new property.
  *
  * <p>Uses the current factory object to create a new property.
  *
  * @param namespace URIREF of the namespace of the property
  * @param localName localname of the property
  * @return a new property
  */
 public static Property createProperty(String namespace, String localName) {
   return instance.createProperty(namespace, localName);
 }
Esempio n. 8
0
 /**
  * create a new property.
  *
  * <p>Uses the current factory object to create a new resource.
  *
  * @param uriref URIREF of the property
  * @return a new property
  */
 public static Property createProperty(String uriref) {
   return instance.createProperty(uriref);
 }