Exemplo 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);
 }
Exemplo n.º 2
0
 public static Literal createPlainLiteral(String string) {
   return instance.createPlainLiteral(string);
 }
Exemplo n.º 3
0
 public static Literal createTypedLiteral(String string, RDFDatatype dType) {
   return instance.createTypedLiteral(string, dType);
 }
Exemplo 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);
 }
Exemplo 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();
 }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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);
 }