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

Adds named attributes to an object.

Methods

Included Modules

XMLTokens

Constants

NAMESPLIT = /^(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})/u

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

Public Instance methods

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

Compares names optionally WITH namespaces

Sets the name and the expanded name

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.