public enum Namespaces extends Enum<Namespaces>
Modifier and Type | Class and Description |
---|---|
static class |
Namespaces.BuiltIn
Indicates that a prefix is builtin - i.e.
|
static class |
Namespaces.Status
Indicates whether a prefix is a legacy prefix or not.
|
Enum Constant and Description |
---|
CC
The CC namespace.
|
CNT
The CNT namespace.
|
CTAG
The CTAG namespace.
|
DBO
The DBO namespace.
|
DBP
The DBP namespace.
|
DBPEDIA
The DBPEDIA namespace.
|
DC
The DC namespace.
|
DCAT
The DCAT namespace.
|
DCTERMS
The DCTERMS namespace.
|
EARL
The EARL namespace.
|
FB
The FB namespace.
|
FOAF
The FOAF namespace.
|
GEO
The GEO namespace.
|
GEONAMES
The GEONAMES namespace.
|
GLDP
The GLDP namespace.
|
GR
The GR namespace.
|
GRDDL
The GRDDL namespace.
|
HT
The HT namespace.
|
ICAL
The ICAL namespace.
|
MA
The MA namespace.
|
OG
The OG namespace.
|
ORG
The ORG namespace.
|
OWL
The OWL namespace.
|
OWL11
The OWL 1.1 namespace.
|
OWL11XML
Status.LEGACY.
|
OWL2
The OWL 2 namespace.
|
POWDER
The POWDER namespace.
|
POWDERS
The POWDERS namespace.
|
PROV
The PROV namespace.
|
PTR
The PTR namespace.
|
R2RML
The R2RML namespace.
|
RDF
The RDF namespace.
|
RDFA
The RDFA namespace.
|
RDFS
The RDFS namespace.
|
REV
The REV namespace.
|
RIF
The RIF namespace.
|
SC
The SC namespace.
|
SCHEMA
The SCHEMA namespace.
|
SD
The SD namespace.
|
SIOC
The SIOC namespace.
|
SKOS
The SKOS namespace.
|
SKOSXL
The SKOSXL namespace.
|
SWRL
The SWRL namespace.
|
SWRLB
The SWRLB namespace.
|
TIME
The Time namespace
|
VCARD
The VCARD namespace.
|
VOID
The VOID namespace.
|
XHV
The XHV namespace.
|
XML
The XML namespace.
|
XSD
The XSD namespace.
|
YAGO
The YAGO namespace.
|
Modifier and Type | Field and Description |
---|---|
static EnumSet<Namespaces> |
defaultIgnoredImports
ignored imports
|
Modifier and Type | Method and Description |
---|---|
String |
getPrefixIRI() |
String |
getPrefixName() |
boolean |
inNamespace(IRI i) |
boolean |
inNamespace(String s) |
boolean |
isBuiltIn() |
static boolean |
isDefaultIgnoredImport(IRI i) |
static boolean |
isDefaultIgnoredImport(String i) |
boolean |
isInUse() |
String |
toString() |
static Namespaces |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Namespaces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Namespaces OWL2
public static final Namespaces OWL11XML
public static final Namespaces OWL11
public static final Namespaces OWL
public static final Namespaces RDFS
public static final Namespaces RDF
public static final Namespaces XSD
public static final Namespaces XML
public static final Namespaces SWRL
public static final Namespaces SWRLB
public static final Namespaces SKOS
public static final Namespaces TIME
public static final Namespaces GRDDL
public static final Namespaces MA
public static final Namespaces PROV
public static final Namespaces RDFA
public static final Namespaces RIF
public static final Namespaces R2RML
public static final Namespaces SD
public static final Namespaces SKOSXL
public static final Namespaces POWDER
public static final Namespaces VOID
public static final Namespaces POWDERS
public static final Namespaces XHV
public static final Namespaces ORG
public static final Namespaces GLDP
public static final Namespaces CNT
public static final Namespaces DCAT
public static final Namespaces EARL
public static final Namespaces HT
public static final Namespaces PTR
public static final Namespaces CC
public static final Namespaces CTAG
public static final Namespaces DCTERMS
public static final Namespaces DC
public static final Namespaces FOAF
public static final Namespaces GR
public static final Namespaces ICAL
public static final Namespaces OG
public static final Namespaces REV
public static final Namespaces SIOC
public static final Namespaces VCARD
public static final Namespaces SCHEMA
public static final Namespaces GEO
public static final Namespaces SC
public static final Namespaces FB
public static final Namespaces GEONAMES
public static final Namespaces DBPEDIA
public static final Namespaces DBP
public static final Namespaces DBO
public static final Namespaces YAGO
public static final EnumSet<Namespaces> defaultIgnoredImports
public static Namespaces[] values()
for (Namespaces c : Namespaces.values()) System.out.println(c);
public static Namespaces valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public String getPrefixName()
null
.@Nonnull public String getPrefixIRI()
null
.public boolean isInUse()
true
if this namespace is not obsolete and is currently in active use,
otherwise false
.public boolean isBuiltIn()
true
if this namespace is defined as a core part of the OWL-2 specification,
otherwise false
.public static boolean isDefaultIgnoredImport(IRI i)
i
- the iri to checkpublic static boolean isDefaultIgnoredImport(String i)
i
- the string to check@Nonnull public String toString()
toString
in class Enum<Namespaces>
public boolean inNamespace(String s)
s
- string to checkpublic boolean inNamespace(IRI i)
i
- iri to checkCopyright © 2020 The University of Manchester. All rights reserved.