Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rexmlライブラリ > REXML::Elementクラス

class REXML::Element

クラスの継承リスト: REXML::Element < REXML::Namespace < REXML::XMLTokens < REXML::Parent < Enumerable < REXML::Child < REXML::Node < Object < Kernel < BasicObject

Abstract

特異メソッド

new(arg = UNDEFINED, parent = nil, context = nil)

インスタンスメソッド

add_attribute(key, value = nil)
add_attributes(hash)
add_element(element, attrs = nil)
add_namespace(prefix, uri = nil)
add_text(text)
attribute(name, namespace = nil)
attributes
cdatas
clone
comments
context
context=(value)
delete_attribute(key)
delete_element(element)
delete_namespace(namespace = "xmlns")
document
each_element(xpath = nil) {|element| ... }
each_element_with_attribute(key, value = nil, max = 0, name = nil) {|element| ... }
each_element_with_text(text = nil, max = 0, name = nil) {|element| ... }
elements
get_elements(xpath)
get_text(path = nil)
has_attributes?
has_elements?
has_text?
ignore_whitespace_nodes
inspect
instructions
namespace
namespaces
next_element
node_type
prefixes
previous_element
raw
root
root_node
text(path = nil)
text=(text)
texts
whitespace
write(writer = $stdout, indent = -1, transitive = false, ie_hack = false)
xpath

定数

UNDEFINED

Methods

Classes