public class FallbackIRIHandler extends Object implements IRIHandler
IRIHandler
. It provides UUID URNs.Modifier and Type | Field and Description |
---|---|
(package private) Map<org.apache.commons.lang3.tuple.Pair<String,String>,String> |
mapping |
Constructor and Description |
---|
FallbackIRIHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentOrTopicIRI(ToCNode node)
Generate IRI for a an iiRDS Topic or Document.
|
String |
getInfoObjectIRI(ToCNode node)
Generate IRI for a an iiRDS InformationObject.
|
String |
getMetadataIRI(ToCNode node,
String classURI,
String label,
String context)
Generate IRI for a a metadata string property.
|
String |
getName()
The unique name of this IRI provider
|
String |
getPackageIRI(ToCNode root)
Generate IRI for a an iiRDS Package.
|
String |
toString() |
public String getName()
IRIHandler
getName
in interface IRIHandler
public String getInfoObjectIRI(ToCNode node)
IRIHandler
getInfoObjectIRI
in interface IRIHandler
node
- the node for which to generatedpublic String getMetadataIRI(ToCNode node, String classURI, String label, String context)
IRIHandler
getMetadataIRI
in interface IRIHandler
node
- the node the metadata belongs toclassURI
- the URI of the RDF metadata classlabel
- something like a label of metadata valuecontext
- an additional context, usually the property name at the node
hinting the source of the metadata valuepublic String getDocumentOrTopicIRI(ToCNode node)
IRIHandler
getDocumentOrTopicIRI
in interface IRIHandler
node
- the node for which to generatedpublic String getPackageIRI(ToCNode root)
IRIHandler
getPackageIRI
in interface IRIHandler
root
- the node for which to generated (usually the root node)Copyright © 2024. All rights reserved.