public class RDFUtil
extends java.lang.Object
Constructor and Description |
---|
RDFUtil() |
Modifier and Type | Method and Description |
---|---|
static com.hp.hpl.jena.rdf.model.Model |
bytesToModel(byte[] resourceBytes) |
static javax.xml.namespace.QName |
getIdentifierAsQName(java.lang.String identifier,
java.util.Map<java.lang.String,java.lang.String> reqPrefixNsMap,
java.util.Map<java.lang.String,java.lang.String> prefixNsMap) |
static javax.xml.namespace.QName |
getIdentifierAsQName(java.lang.String identifier,
java.util.Map<java.lang.String,java.lang.String> reqPrefixNsMap,
com.hp.hpl.jena.rdf.model.Model model) |
static java.lang.String |
getResourceType(com.hp.hpl.jena.rdf.model.Resource res) |
static javax.xml.namespace.QName |
getResourceTypeAsQName(com.hp.hpl.jena.rdf.model.Resource res) |
static boolean |
hasProperties(com.hp.hpl.jena.rdf.model.Resource r) |
static byte[] |
modelToBytes(com.hp.hpl.jena.rdf.model.Model rdfModel) |
static com.hp.hpl.jena.rdf.model.Model |
streamToModel(java.io.InputStream inputStream) |
static javax.xml.namespace.QName |
uriAsQName(java.lang.String uri) |
public static byte[] modelToBytes(com.hp.hpl.jena.rdf.model.Model rdfModel)
public static com.hp.hpl.jena.rdf.model.Model bytesToModel(byte[] resourceBytes)
public static com.hp.hpl.jena.rdf.model.Model streamToModel(java.io.InputStream inputStream)
public static java.lang.String getResourceType(com.hp.hpl.jena.rdf.model.Resource res)
public static javax.xml.namespace.QName getResourceTypeAsQName(com.hp.hpl.jena.rdf.model.Resource res)
public static boolean hasProperties(com.hp.hpl.jena.rdf.model.Resource r)
public static javax.xml.namespace.QName uriAsQName(java.lang.String uri)
public static javax.xml.namespace.QName getIdentifierAsQName(java.lang.String identifier, java.util.Map<java.lang.String,java.lang.String> reqPrefixNsMap, java.util.Map<java.lang.String,java.lang.String> prefixNsMap)
public static javax.xml.namespace.QName getIdentifierAsQName(java.lang.String identifier, java.util.Map<java.lang.String,java.lang.String> reqPrefixNsMap, com.hp.hpl.jena.rdf.model.Model model)