Interface IRdfAVocabulary
Interface for RDFa Vocabularies.
Assembly: dotNetRDF.dll
Syntax
public interface IRdfAVocabulary
Properties
|
Improve this Doc
View Source
Mappings
Gets the Term Mappings.
Declaration
IEnumerable<KeyValuePair<string, string>> Mappings { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
|
|
Improve this Doc
View Source
Namespaces
Gets the Namespace Mappings.
Declaration
IEnumerable<KeyValuePair<string, string>> Namespaces { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
|
|
Improve this Doc
View Source
VocabularyUri
Gets/Sets the Vocabulary URI.
Declaration
string VocabularyUri { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AddNamespace(String, String)
Adds a Namespace to the Vocabulary.
Declaration
void AddNamespace(string prefix, string nsUri)
Parameters
Type |
Name |
Description |
System.String |
prefix |
Prefix. |
System.String |
nsUri |
Namespace URI. |
|
Improve this Doc
View Source
AddTerm(String, String)
Adds a Term to the Vocabulary.
Declaration
void AddTerm(string term, string uri)
Parameters
Type |
Name |
Description |
System.String |
term |
Term. |
System.String |
uri |
URI. |
|
Improve this Doc
View Source
HasTerm(String)
Gets whether a Vocabulary contains a Term.
Declaration
bool HasTerm(string term)
Parameters
Type |
Name |
Description |
System.String |
term |
Term. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Merge(IRdfAVocabulary)
Merges another Vocabulary into this one.
Declaration
void Merge(IRdfAVocabulary vocab)
Parameters
|
Improve this Doc
View Source
ResolveTerm(String)
Resolves a Term in the Vocabulary.
Declaration
string ResolveTerm(string term)
Parameters
Type |
Name |
Description |
System.String |
term |
Term. |
Returns
Type |
Description |
System.String |
|
Extension Methods