diff --git a/core/src/main/java/org/apache/any23/rdf/Any23ValueFactoryWrapper.java b/core/src/main/java/org/apache/any23/rdf/Any23ValueFactoryWrapper.java index eb6e405e..1c1081b5 100644 --- a/core/src/main/java/org/apache/any23/rdf/Any23ValueFactoryWrapper.java +++ b/core/src/main/java/org/apache/any23/rdf/Any23ValueFactoryWrapper.java @@ -30,6 +30,7 @@ import org.eclipse.rdf4j.model.IRI; import org.eclipse.rdf4j.model.Value; import org.eclipse.rdf4j.model.ValueFactory; +import org.eclipse.rdf4j.model.base.CoreDatatype; import org.eclipse.rdf4j.model.vocabulary.RDF; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -181,6 +182,16 @@ public Literal createLiteral(String pref, IRI value) { return wrappedFactory.createLiteral(pref, value); } + @Override + public Literal createLiteral(String s, CoreDatatype coreDatatype) { + return wrappedFactory.createLiteral(s, coreDatatype); + } + + @Override + public Literal createLiteral(String s, IRI iri, CoreDatatype coreDatatype) { + return wrappedFactory.createLiteral(s, iri, coreDatatype); + } + @Override public Literal createLiteral(Date date) { return wrappedFactory.createLiteral(date); diff --git a/pom.xml b/pom.xml index 374e7950..9cbd4e40 100644 --- a/pom.xml +++ b/pom.xml @@ -276,7 +276,7 @@ 4.5.13 4.4.15 5.1.20 - 3.7.4 + 4.0.1 0.7 2.17.2 1.7.36 @@ -312,7 +312,7 @@ 3.0.0-M6 3.12.0 2.12.1 - 3.2.2 + 3.3.0 3.1.1 3.1.2 0.13 @@ -389,7 +389,7 @@ org.jsoup jsoup - 1.14.3 + 1.15.1 net.sf.biweekly @@ -579,6 +579,14 @@ com.google.guava guava + + org.eclipse.rdf4j + rdf4j-model-api + + + org.eclipse.rdf4j + rdf4j-model-vocabulary + @@ -672,7 +680,7 @@ org.mockito mockito-core - 4.5.0 + 4.5.1 test