Module: REXML::Namespace

Module REXML::Namespace |
In: | rexml/namespace.rb

Adds named attributes to an object.

Methods

fully_expanded_name has_name? name=

Attributes

:expanded_name | [R] | The name of the object, valid if set
:name | [R] | The name of the object, valid if set
:prefix | [RW] | The expanded name of the object, valid if name is set

Public Instance methods

name=( name )

Sets the name and the expanded name

has_name?( other )

Compares names optionally WITH namespaces

fully_expanded_name()

Fully expand the name, even if the prefix wasn't specified in the source file.