public class StripPrefixes extends Object
Constructor and Description |
---|
StripPrefixes() |
Modifier and Type | Method and Description |
---|---|
static void |
addNamespace(Set<String> namespaces,
com.hp.hpl.jena.graph.Node n) |
static com.hp.hpl.jena.rdf.model.Model |
Do(com.hp.hpl.jena.rdf.model.Model a)
Do returns a Model with the same contents as
a
but using only prefixes that have namespaces which are used inside
a . |
public static com.hp.hpl.jena.rdf.model.Model Do(com.hp.hpl.jena.rdf.model.Model a)
a
but using only prefixes that have namespaces which are used inside
a
. The actual triples are shared, so while construction
requires a complete scan of the triples of a
, it does not
use (much) additional space.Copyright © 2014. All Rights Reserved.