Thanks. That does not seem to be available in Jena 2.11.0 though.
On Tue, May 26, 2015 at 10:56 PM, Andy Seaborne <[email protected]> wrote: > On 26/05/15 15:38, Martynas Jusevičius wrote: >> >> Hey, >> >> is there a better way than >> >> import com.hp.hpl.jena.datatypes.xsd.impl.XMLLiteralType; >> >> ... >> >> if (!stmt.getObject().isLiteral() || >> !stmt.getLiteral().getDatatype().equals(XMLLiteralType.theXMLLiteralType)) >> > > > RDF.dtXMLLiteral is a little nicer than poking around the implementation > class to get > theXMLLiteralType. > > Andy > >> ? >> >> Thanks, >> >> Martynas >> graphityhq.com >> >
