Module: REXML::Namespace

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

Adds named attributes to an object.

Methods

fully_expanded_name has_name? name=

External Aliases

name -> local_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

Included modules

XMLTokens

Public Instance methods

name=( name )

Sets the name and the expanded name

has_name?( other, ns=nil )

Compares names optionally WITH namespaces

fully_expanded_name()

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