Click or drag to resize

NestedNamespaceMapper Class

A Namespace Mapper which has an explicit notion of Nesting.
Inheritance Hierarchy
SystemObject
  VDS.RDFNestedNamespaceMapper

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class NestedNamespaceMapper : INestedNamespaceMapper, 
	INamespaceMapper, IDisposable

The NestedNamespaceMapper type exposes the following members.

Constructors
  NameDescription
Public methodNestedNamespaceMapper
Constructs a new Namespace Map.
Protected methodNestedNamespaceMapper(Boolean)
Constructs a new Namespace Map which is optionally empty.
Top
Properties
  NameDescription
Public propertyNestingLevel
Gets the current Nesting Level.
Public propertyPrefixes
Gets the Namespace Prefixes.
Top
Methods
  NameDescription
Public methodAddNamespace
Adds a Namespace at the Current Nesting Level.
Public methodClear
Clears the Namespace Map.
Public methodDecrementNesting
Decrements the Nesting Level.
Public methodDispose
Disposes of the Namespace Map.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNamespaceUri
Gets the Namespace URI for the given Prefix at the current Nesting Level.
Public methodGetNestingLevel
Gets the Nesting Level at which the given Namespace is definition is defined.
Public methodGetPrefix
Gets the Namespace Prefix for the given URI at the current Nesting Level.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNamespace
Gets whether the given Namespace exists.
Public methodImport
Imports another Namespace Map into this one.
Public methodIncrementNesting
Increments the Nesting Level.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnNamespaceRemoved
Internal Helper for the NamespaceRemoved Event which raises it only when a Handler is registered.
Protected methodRaiseNamespaceAdded
Internal Helper for the NamespaceAdded Event which raises it only when a Handler is registered.
Protected methodRaiseNamespaceModified
Internal Helper for the NamespaceModified Event which raises it only when a Handler is registered.
Public methodReduceToQName
Tries to reduce a URI to a QName using this Namespace Map.
Public methodRemoveNamespace
Removes a Namespace provided that Namespace is defined on the current Nesting Level.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventNamespaceAdded
Event which occurs when a Namespace is added
Public eventNamespaceModified
Event which occurs when a Namespace is modified
Public eventNamespaceRemoved
Event which occurs when a Namespace is removed
Top
See Also