Click or drag to resize

ThreadSafeQNameOutputMapper Class

Thread Safe version of the QNameOutputMapper.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class ThreadSafeQNameOutputMapper : QNameOutputMapper

The ThreadSafeQNameOutputMapper type exposes the following members.

Constructors
  NameDescription
Public methodThreadSafeQNameOutputMapper
Creates a new Thread Safe QName Output Mapper.
Top
Properties
  NameDescription
Public propertyPrefixes
Gets a Enumerator of all the Prefixes.
(Inherited from NamespaceMapper.)
Top
Methods
  NameDescription
Public methodAddNamespace
Adds a Namespace to the QName Output Mapper.
(Overrides NamespaceMapperAddNamespace(String, Uri).)
Protected methodAddToCache
Adds a QName Mapping to the Cache in a Thread Safe way.
(Overrides QNameOutputMapperAddToCache(String, QNameMapping).)
Public methodClear
Clears the Namespace Map.
(Inherited from NamespaceMapper.)
Public methodDispose
Disposes of a Namespace Map.
(Inherited from NamespaceMapper.)
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
Returns the Namespace URI associated with the given Prefix.
(Inherited from NamespaceMapper.)
Public methodGetPrefix
Returns the Prefix associated with the given Namespace URI.
(Inherited from NamespaceMapper.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNamespace(String)
Method which checks whether a given Namespace Prefix is defined.
(Inherited from NamespaceMapper.)
Public methodHasNamespace(Uri)
Method which checks whether a given Namespace is defined.
(Inherited from NamespaceMapper.)
Public methodImport
Imports the contents of another Namespace Map into this Namespace Map.
(Inherited from NamespaceMapper.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnNamespaceAdded
Internal Helper for the NamespaceAdded Event which raises it only when a Handler is registered.
(Inherited from NamespaceMapper.)
Protected methodOnNamespaceModified
Internal Helper for the NamespaceModified Event which raises it only when a Handler is registered.
(Inherited from NamespaceMapper.)
Protected methodOnNamespaceRemoved
Internal Helper for the NamespaceRemoved Event which raises it only when a Handler is registered.
(Inherited from NamespaceMapper.)
Public methodReduceToQName(String, String)
A Function which attempts to reduce a Uri to a QName.
(Inherited from QNameOutputMapper.)
Public methodReduceToQName(String, String, String)
A Function which attempts to reduce a Uri to a QName and issues a Temporary Namespace if required.
(Inherited from QNameOutputMapper.)
Public methodRemoveNamespace
Removes a Namespace from the NamespaceMapper.
(Inherited from NamespaceMapper.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventNamespaceAdded
Event which is raised when a Namespace is Added
(Inherited from NamespaceMapper.)
Public eventNamespaceModified
Event which is raised when a Namespace is Modified
(Inherited from NamespaceMapper.)
Public eventNamespaceRemoved
Event which is raised when a Namespace is Removed
(Inherited from NamespaceMapper.)
Top
Fields
  NameDescription
Protected field_mapping
Mapping of URIs to QNames.
(Inherited from QNameOutputMapper.)
Protected field_nextNamespaceID
Next available Temporary Namespace ID.
(Inherited from QNameOutputMapper.)
Protected field_prefixes
Mapping of URIs to Prefixes.
(Inherited from NamespaceMapper.)
Protected field_uris
Mapping of Prefixes to URIs.
(Inherited from NamespaceMapper.)
Top
See Also