Class: OpenID::NamespaceMap

Class | OpenID::NamespaceMap
In: | lib/openid/message.rb
Parent: | Object

Maintains a bidirectional map between namespace URIs and aliases.

### Methods

add add_alias aliases each get_alias get_namespace_uri member? namespace_uris new

### Public Class methods

new()

### Public Instance methods

add(namespace_uri)

Add this namespace URI to the mapping, without caring what alias it ends up with.

add_alias(namespace_uri, desired_alias)

Add an alias from this namespace URI to the alias.

aliases()
each() {|k,v| ...}
get_alias(namespace_uri)
get_namespace_uri(namespace_alias)
member?(namespace_uri)
namespace_uris()

[Validate]