Package | Description |
---|---|
org.apache.jena.assembler.assemblers | |
org.apache.jena.graph |
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
|
org.apache.jena.graph.compose |
This package defines simple composite graphs - union, intersection,
difference, and update-tracking.
|
org.apache.jena.graph.impl |
This package provides basic implementations of Graph interfaces
such as EventManager and Capabilities.
|
org.apache.jena.ontology |
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
|
org.apache.jena.ontology.impl |
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package. |
org.apache.jena.rdf.model |
A package for creating and manipulating RDF graphs.
|
org.apache.jena.rdf.model.impl |
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
|
org.apache.jena.reasoner |
The Jena2 reasoner subsystem is designed to allow a range of inference
engines to be plugged into Jena.
|
org.apache.jena.shared |
This package defines some classes common to the Jena API
and SPI levels, in particular the JenaException class from which
all Jena-specific exceptions hang, and the interface PrefixMapping
for translation to and from QNames.
|
org.apache.jena.shared.impl |
This package provides "standard" implementations for the interfaces
defined by .shared, notably an implementation of PrefixMapping.
|
org.apache.jena.util |
Miscellaneous collection of utility classes.
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
PrefixMappingAssembler.getPrefixes(Assembler a,
Resource root,
PrefixMapping result) |
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
PrefixMappingAssembler.getPrefixes(Assembler a,
Resource root,
PrefixMapping result) |
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
Graph.getPrefixMapping()
returns this Graph's prefix mapping.
|
Modifier and Type | Method and Description |
---|---|
String |
Node.toString(PrefixMapping pm)
Answer a human-readable representation of the Node, quoting literals and
compressing URIs.
|
String |
Triple.toString(PrefixMapping pm) |
String |
Node_Literal.toString(PrefixMapping pm,
boolean quoting) |
String |
Node.toString(PrefixMapping pm,
boolean quoting)
Answer a human readable representation of this Node, quoting literals if specified,
and compressing URIs using the prefix mapping supplied.
|
String |
Node_ANY.toString(PrefixMapping pm,
boolean quoting) |
String |
Node_URI.toString(PrefixMapping pm,
boolean quoting)
Answer a String representing the node, taking into account the PrefixMapping.
|
Modifier and Type | Class and Description |
---|---|
class |
PolyadicPrefixMappingImpl |
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
PolyadicPrefixMappingImpl.clearNsPrefixMap() |
PrefixMapping |
PolyadicPrefixMappingImpl.removeNsPrefix(String prefix) |
PrefixMapping |
PolyadicPrefixMappingImpl.setNsPrefix(String prefix,
String uri) |
PrefixMapping |
PolyadicPrefixMappingImpl.setNsPrefixes(Map<String,String> other)
Add the bindings in the map to our own.
|
PrefixMapping |
PolyadicPrefixMappingImpl.setNsPrefixes(PrefixMapping other)
Add the bindings of other to our own.
|
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
PolyadicPrefixMappingImpl.setNsPrefixes(PrefixMapping other)
Add the bindings of other to our own.
|
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
GraphBase.getPrefixMapping()
Answer the PrefixMapping object for this graph, the same one each time.
|
PrefixMapping |
WrappedGraph.getPrefixMapping() |
Modifier and Type | Interface and Description |
---|---|
interface |
OntModel
An enhanced view of a Jena model that is known to contain ontology
data, under a given ontology
vocabulary (such as OWL). |
Modifier and Type | Class and Description |
---|---|
class |
OntModelImpl
Implementation of a model that can process general ontologies in OWL
and similar languages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InfModel
An extension to the normal Model interface that supports access to any
underlying inference capability.
|
interface |
Model
An RDF Model.
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
ModelFactory.getDefaultModelPrefixes()
Deprecated.
This feature wil be removed from ModelFactory
|
static PrefixMapping |
ModelFactory.setDefaultModelPrefixes(PrefixMapping pm)
Deprecated.
This feature wil be removed from ModelFactory
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
ModelFactory.setDefaultModelPrefixes(PrefixMapping pm)
Deprecated.
This feature wil be removed from ModelFactory
|
Model |
Model.setNsPrefixes(PrefixMapping other) |
Model |
Model.withDefaultMappings(PrefixMapping map) |
Modifier and Type | Class and Description |
---|---|
class |
InfModelImpl
Default implementation of the InfModel interface which simply wraps up
an InfGraph.
|
class |
ModelCom
Common methods for model implementations.
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
ModelCom.getDefaultModelPrefixes()
Deprecated.
This feature will be removed
|
PrefixMapping |
ModelCom.lock() |
static PrefixMapping |
ModelCom.setDefaultModelPrefixes(PrefixMapping pm)
Deprecated.
This feature will be removed
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModelCom.samePrefixMappingAs(PrefixMapping other) |
static PrefixMapping |
ModelCom.setDefaultModelPrefixes(PrefixMapping pm)
Deprecated.
This feature will be removed
|
Model |
ModelCom.setNsPrefixes(PrefixMapping pm) |
Model |
ModelCom.withDefaultMappings(PrefixMapping other) |
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
BaseInfGraph.getPrefixMapping()
Inference graphs share the prefix-mapping of their underlying raw graph.
|
Modifier and Type | Field and Description |
---|---|
static PrefixMapping |
PrefixMapping.Extended
A PrefixMapping built on Standard with some extras
|
static PrefixMapping |
PrefixMapping.Standard
A PrefixMapping that contains the "standard" prefixes we know about,
viz rdf, rdfs, dc, rss, vcard, and owl.
|
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
PrefixMapping.clearNsPrefixMap()
Clear this prefix mapping of all mappings
|
static PrefixMapping |
PrefixMapping.Factory.create() |
PrefixMapping |
PrefixMapping.lock()
Lock the PrefixMapping so that changes can no longer be made to it.
|
PrefixMapping |
PrefixMapping.removeNsPrefix(String prefix)
Remove any existing maplet with the given prefix name and answer this
mapping.
|
PrefixMapping |
PrefixMapping.setNsPrefix(String prefix,
String uri)
Specify the prefix name for a URI prefix string.
|
PrefixMapping |
PrefixMapping.setNsPrefixes(Map<String,String> map)
Copies the prefix mapping from other into this.
|
PrefixMapping |
PrefixMapping.setNsPrefixes(PrefixMapping other)
Copies the prefixes from other into this.
|
PrefixMapping |
PrefixMapping.withDefaultMappings(PrefixMapping map)
Update this PrefixMapping with the bindings in
map , only
adding those (p, u) pairs for which neither p nor u appears in this mapping. |
Modifier and Type | Method and Description |
---|---|
boolean |
PrefixMapping.samePrefixMappingAs(PrefixMapping other)
Answer true iff this prefix-mappings are equal, that is, map the same
prefixes to the same URIs; same as
this.getNsPrefixMap().equals( other.getNsPrefixMap() )
except that it may avoid unnecessary Map creations.
|
PrefixMapping |
PrefixMapping.setNsPrefixes(PrefixMapping other)
Copies the prefixes from other into this.
|
PrefixMapping |
PrefixMapping.withDefaultMappings(PrefixMapping map)
Update this PrefixMapping with the bindings in
map , only
adding those (p, u) pairs for which neither p nor u appears in this mapping. |
Constructor and Description |
---|
JenaLockedException(PrefixMapping pm) |
Modifier and Type | Class and Description |
---|---|
class |
PrefixMappingImpl
An implementation of PrefixMapping.
|
Modifier and Type | Method and Description |
---|---|
PrefixMapping |
PrefixMappingImpl.clearNsPrefixMap() |
PrefixMapping |
PrefixMappingImpl.lock() |
PrefixMapping |
PrefixMappingImpl.removeNsPrefix(String prefix) |
PrefixMapping |
PrefixMappingImpl.setNsPrefix(String prefix,
String uri) |
PrefixMapping |
PrefixMappingImpl.setNsPrefixes(Map<String,String> other)
Add the bindings in the prefixToURI to our own.
|
PrefixMapping |
PrefixMappingImpl.setNsPrefixes(PrefixMapping other)
Add the bindings of other to our own.
|
PrefixMapping |
PrefixMappingImpl.withDefaultMappings(PrefixMapping other)
Answer this PrefixMapping after updating it with the
(p, u)
mappings in other where neither p nor
u appear in this mapping. |
Modifier and Type | Method and Description |
---|---|
boolean |
PrefixMappingImpl.samePrefixMappingAs(PrefixMapping other) |
PrefixMapping |
PrefixMappingImpl.setNsPrefixes(PrefixMapping other)
Add the bindings of other to our own.
|
PrefixMapping |
PrefixMappingImpl.withDefaultMappings(PrefixMapping other)
Answer this PrefixMapping after updating it with the
(p, u)
mappings in other where neither p nor
u appear in this mapping. |
Modifier and Type | Class and Description |
---|---|
class |
MonitorModel
Model wrapper which provides normal access to an underlying model but
also maintains a snapshot of the triples it was last known to contain.
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMapping(Graph graph)
Analyse the graph to see which prefixes of the graph are in use.
|
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMapping(Graph graph,
PrefixMapping prefixMapping)
Analyse the graph to see which prefixes of the given
PrefixMapping are in
use. |
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMappingTTL(Graph graph)
Analyse the graph to see which prefixes of the graph are in use.
|
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMappingTTL(Graph graph,
PrefixMapping prefixMapping)
Analyse the graph to see which prefixes of the given
PrefixMapping are used
by the graph triples. |
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMapping(Graph graph,
PrefixMapping prefixMapping)
Analyse the graph to see which prefixes of the given
PrefixMapping are in
use. |
static PrefixMapping |
PrefixMappingUtils.calcInUsePrefixMappingTTL(Graph graph,
PrefixMapping prefixMapping)
Analyse the graph to see which prefixes of the given
PrefixMapping are used
by the graph triples. |
Licenced under the Apache License, Version 2.0