public class SparqlPrefixDeclarations
extends java.lang.Object
| Constructor and Description |
|---|
SparqlPrefixDeclarations() |
SparqlPrefixDeclarations(SparqlPrefixDeclarations parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGeoSparqlPrefix()
Add the prefixes for geoSparql.
|
void |
addOwlTimePrefix()
Add the prefix for owl-time.
|
void |
addPrefix(java.lang.String prefix,
java.lang.String iri)
Add a prefix.
|
java.lang.String |
getIRI(java.lang.String prefix)
Return the IRI associated with a prefix.
|
java.lang.String |
getPrefix(java.lang.String iri)
Return the prefix associated with an IRI.
|
boolean |
hasIRI(java.lang.String prefix)
Return true if there is an IRI associated with a prefix.
|
boolean |
hasPrefix(java.lang.String iri)
Return true if there is a prefix associated with an IRI.
|
java.lang.String |
toString() |
java.lang.String |
write()
Write the declarations corresponding to the prefix to IRI association.
|
public SparqlPrefixDeclarations()
public SparqlPrefixDeclarations(SparqlPrefixDeclarations parent)
public void addGeoSparqlPrefix()
public void addOwlTimePrefix()
public void addPrefix(java.lang.String prefix,
java.lang.String iri)
prefix - the prefixiri - the associated IRIpublic java.lang.String getIRI(java.lang.String prefix)
prefix - the prefixpublic java.lang.String getPrefix(java.lang.String iri)
iri - the IRIpublic boolean hasIRI(java.lang.String prefix)
prefix - the prefixpublic boolean hasPrefix(java.lang.String iri)
iri - the IRIpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String write()
Copyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence