Click or drag to resize

QNameOutputMapper Class

Class for representing Mappings from URIs to QNames.
Inheritance Hierarchy

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

The QNameOutputMapper type exposes the following members.

Constructors
  NameDescription
Public methodQNameOutputMapper
Creates a new QName Output Mapper which has an empty Namespace Map.
Public methodQNameOutputMapper(INamespaceMapper)
Creates a new QName Output Mapper using the given Namespace Map.
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 Namespace Map.
(Inherited from NamespaceMapper.)
Protected methodAddToCache
Adds a QName mapping to the cache.
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.
(Overrides NamespaceMapperReduceToQName(String, String).)
Public methodReduceToQName(String, String, String)
A Function which attempts to reduce a Uri to a QName and issues a Temporary Namespace if required.
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.
Protected field_nextNamespaceID
Next available Temporary Namespace ID.
Protected field_prefixes
Mapping of URIs to Prefixes.
(Inherited from NamespaceMapper.)
Protected field_uris
Mapping of Prefixes to URIs.
(Inherited from NamespaceMapper.)
Top
Remarks
Used primarily in outputting RDF syntax.
See Also