Package | Description |
---|---|
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.ontology |
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
|
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 |
---|---|
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_URI.toString(PrefixMapping pm,
boolean quoting)
Answer a String representing the node, taking into account the PrefixMapping.
|
String |
Node_ANY.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_Literal.toString(PrefixMapping pm,
boolean quoting) |
Modifier and Type | Class and Description |
---|---|
class |
PolyadicPrefixMappingImpl |
Modifier and Type | Method and Description |
---|---|
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 | 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 | 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()
Answer the current default model prefixes PrefixMapping object.
|
static PrefixMapping |
ModelFactory.setDefaultModelPrefixes(PrefixMapping pm)
Each Model created by ModelFactory has a default set of prefix mappings.
|
Modifier and Type | Method and Description |
---|---|
static PrefixMapping |
ModelFactory.setDefaultModelPrefixes(PrefixMapping pm)
Each Model created by ModelFactory has a default set of prefix mappings.
|
Modifier and Type | Class and Description |
---|---|
class |
org.apache.jena.rdf.model.impl.ModelCom
Common methods for model implementations.
|
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 |
---|---|
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 |
org.apache.jena.shared.impl.PrefixMappingImpl
An implementation of PrefixMapping.
|
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.
|
Licenced under the Apache License, Version 2.0