|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.model.IRI
public abstract class IRI
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 14-Jan-2009
Represents International Resource Identifiers
Constructor Summary | |
---|---|
IRI()
|
Method Summary | |
---|---|
static IRI |
create(java.io.File file)
|
static IRI |
create(java.lang.String str)
Creates an IRI from the specified String. |
static IRI |
create(java.net.URI uri)
|
static IRI |
create(java.net.URL url)
|
static IRI |
generateDocumentIRI()
Gets an auto-generated ontology document IRI. |
abstract java.lang.String |
getFragment()
Gets the fragment of the IRI. |
abstract java.lang.String |
getScheme()
|
abstract java.lang.String |
getStart()
|
abstract boolean |
isAbsolute()
Determines if this IRI is absolute |
abstract boolean |
isNothing()
Determines if this IRI is equal to the IRI that owl:Nothing is named with |
abstract boolean |
isPlainLiteral()
Determines if this IRI is equal to the IRI that is named rdf:PlainLiteral |
abstract boolean |
isReservedVocabulary()
Determines if this IRI is in the reserved vocabulary. |
abstract boolean |
isThing()
Determines if this IRI is equal to the IRI that owl:Thing is named with |
abstract IRI |
resolve(java.lang.String s)
|
abstract java.lang.String |
toQuotedString()
Obtained this IRI surrounded by angled brackets |
abstract java.net.URI |
toURI()
Obtains this IRI as a URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationSubject |
---|
accept, accept |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationValue |
---|
accept, accept |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public IRI()
Method Detail |
---|
public abstract java.net.URI toURI()
public abstract boolean isAbsolute()
true
if this IRI is absolute or false
if this IRI is not absolutepublic abstract java.lang.String getScheme()
public abstract java.lang.String getStart()
public abstract IRI resolve(java.lang.String s)
public abstract boolean isReservedVocabulary()
true
if the IRI is in the reserved vocabulary, otherwise false
.public abstract boolean isThing()
owl:Thing
is named with
true
if this IRI is equal to <http://www.w3.org/2002/07/owl#Thing> and otherwise
false
public abstract boolean isNothing()
owl:Nothing
is named with
true
if this IRI is equal to <http://www.w3.org/2002/07/owl#Nothing> and otherwise
false
public abstract boolean isPlainLiteral()
rdf:PlainLiteral
true
if this IRI is equal to <http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral>,
otherwise false
public abstract java.lang.String getFragment()
null
if the IRI does not have a fragmentpublic abstract java.lang.String toQuotedString()
public static IRI create(java.lang.String str)
str
- The String that specifies the IRI
public static IRI create(java.io.File file)
public static IRI create(java.net.URI uri)
public static IRI create(java.net.URL url) throws java.net.URISyntaxException
java.net.URISyntaxException
public static IRI generateDocumentIRI()
owlapi:ontologyTIMESTAMP
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |