/** * 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); }
public static Literal createPlainLiteral(String string) { return instance.createPlainLiteral(string); }
public static Literal createTypedLiteral(String string, RDFDatatype dType) { return instance.createTypedLiteral(string, dType); }
/** * 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); }
/** * 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(); }
/** * 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); }
/** * 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); }
/** * 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); }