public final class RdfSerializationUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static com.hp.hpl.jena.graph.Node | mixinTypesPredicateThe RDF predicate that will indicate the mixin types. | 
| static com.hp.hpl.jena.graph.Node | primaryTypePredicateThe RDF predicate that will indicate the primary node type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Iterator<String> | getAllValuesForPredicate(com.hp.hpl.jena.rdf.model.Model rdf,
                                                com.hp.hpl.jena.graph.Node subject,
                                                com.hp.hpl.jena.graph.Node predicate)Get all the values for a predicate as a string array, or null if the
 predicate is not used | 
| static String | getFirstValueForPredicate(com.hp.hpl.jena.rdf.model.Model rdf,
                                                  com.hp.hpl.jena.graph.Node subject,
                                                  com.hp.hpl.jena.graph.Node predicate)Get the very first value for a predicate as a string, or null if the
 predicate is not used | 
public static com.hp.hpl.jena.graph.Node primaryTypePredicate
public static com.hp.hpl.jena.graph.Node mixinTypesPredicate
public static String getFirstValueForPredicate(com.hp.hpl.jena.rdf.model.Model rdf, com.hp.hpl.jena.graph.Node subject, com.hp.hpl.jena.graph.Node predicate)
rdf - the rdfsubject - the given subjectpredicate - the given predicatepublic static Iterator<String> getAllValuesForPredicate(com.hp.hpl.jena.rdf.model.Model rdf, com.hp.hpl.jena.graph.Node subject, com.hp.hpl.jena.graph.Node predicate)
rdf - the rdfsubject - the given subjectpredicate - the given predicateCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.