| Package | Description |
|---|---|
| org.openrdf.model |
RDF model interfaces.
|
| org.openrdf.model.impl |
Default implementations of the RDF model interfaces.
|
| org.openrdf.model.util | |
| org.openrdf.model.vocabulary |
Static constants for various vocabularies.
|
| Modifier and Type | Method and Description |
|---|---|
Namespace |
Model.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix, if any.
|
Namespace |
Model.removeNamespace(String prefix)
Removes a namespace declaration by removing the association between a
prefix and a namespace name.
|
Namespace |
Model.setNamespace(String prefix,
String name)
Sets the prefix for a namespace.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Namespace> |
Model.getNamespaces()
Gets the map that contains the assigned namespaces.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Model.setNamespace(Namespace namespace)
Sets the prefix for a namespace.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NamespaceImpl
A default implementation of the
Namespace interface. |
| Modifier and Type | Method and Description |
|---|---|
Namespace |
TreeModel.getNamespace(String prefix) |
Namespace |
LinkedHashModel.getNamespace(String prefix) |
Namespace |
FilteredModel.getNamespace(String prefix) |
Namespace |
EmptyModel.getNamespace(String prefix) |
Namespace |
TreeModel.removeNamespace(String prefix) |
Namespace |
LinkedHashModel.removeNamespace(String prefix) |
Namespace |
FilteredModel.removeNamespace(String prefix) |
Namespace |
EmptyModel.removeNamespace(String prefix) |
Namespace |
TreeModel.setNamespace(String prefix,
String name) |
Namespace |
LinkedHashModel.setNamespace(String prefix,
String name) |
Namespace |
FilteredModel.setNamespace(String prefix,
String name) |
Namespace |
EmptyModel.setNamespace(String prefix,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Set<Namespace> |
TreeModel.getNamespaces() |
Set<Namespace> |
LinkedHashModel.getNamespaces() |
Set<Namespace> |
FilteredModel.getNamespaces() |
Set<Namespace> |
EmptyModel.getNamespaces() |
| Modifier and Type | Method and Description |
|---|---|
int |
NamespaceImpl.compareTo(Namespace o) |
void |
TreeModel.setNamespace(Namespace namespace) |
void |
LinkedHashModel.setNamespace(Namespace namespace) |
void |
FilteredModel.setNamespace(Namespace namespace) |
void |
EmptyModel.setNamespace(Namespace namespace) |
| Constructor and Description |
|---|
LinkedHashModel(Set<Namespace> namespaces) |
LinkedHashModel(Set<Namespace> namespaces,
Collection<? extends Statement> c) |
LinkedHashModel(Set<Namespace> namespaces,
int size) |
TreeModel(Set<Namespace> namespaces) |
TreeModel(Set<Namespace> namespaces,
Collection<? extends Statement> c) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
Namespaces.asMap(Set<Namespace> namespaces)
Converts a set of
Namespaces into a map containing the
getPrefix() strings as keys, with the
getName() strings as values in the map for each
namespace in the given set. |
static Map<String,String> |
Namespaces.wrap(Set<Namespace> namespaces)
|
| Modifier and Type | Field and Description |
|---|---|
static Namespace |
XMLSchema.NS
An immutable
Namespace constant that represents the XML Schema
namespace. |
static Namespace |
SKOS.NS
An immutable
Namespace constant that represents the SKOS
namespace. |
static Namespace |
SESAMEQNAME.NS
An immutable
Namespace constant that represents the Sesame QName
namespace. |
static Namespace |
SESAME.NS
An immutable
Namespace constant that represents the Sesame Schema
namespace. |
static Namespace |
SD.NS
An immutable
Namespace constant that represents the SPARQL Service
Description namespace. |
static Namespace |
RDFS.NS
An immutable
Namespace constant that represents the RDFS
namespace. |
static Namespace |
RDF.NS
An immutable
Namespace constant that represents the RDF namespace. |
static Namespace |
OWL.NS
An immutable
Namespace constant that represents the OWL namespace. |
static Namespace |
FN.NS
An immutable
Namespace constant that represents the XPath
Functions namespace. |
static Namespace |
DCTERMS.NS
An immutable
Namespace constant that represents the Dublin Core
Terms namespace. |
static Namespace |
DC.NS
An immutable
Namespace constant that represents the Dublin Core
namespace. |
Copyright © 2001-2014 Aduna. All Rights Reserved.