Interface INestedNamespaceMapper
A Namespace Mapper which has an explicit notion of Nesting.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface INestedNamespaceMapper : INamespaceMapper, IDisposable
Properties
| Edit this page View SourceNestingLevel
Gets the current Nesting Level.
Declaration
int NestingLevel { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceDecrementNesting()
Decrements the Nesting Level.
Declaration
void DecrementNesting()
Remarks
When the Nesting Level is decremented any Namespaces defined at a greater Nesting Level are now out of scope and so are removed from the Mapper.
GetNestingLevel(string)
Gets the Nesting Level at which the given Namespace is definition is defined.
Declaration
int GetNestingLevel(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | Prefix. |
Returns
Type | Description |
---|---|
int |
IncrementNesting()
Increments the Nesting Level.
Declaration
void IncrementNesting()