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


Reply via email to