12件ヒット
[1-12件を表示]
(0.036秒)
別のキーワード
種類
- インスタンスメソッド (10)
- モジュール (1)
- クラス (1)
ライブラリ
-
rexml
/ document (12)
クラス
-
REXML
:: Attributes (1) -
REXML
:: Element (1)
モジュール
-
REXML
:: Namespace (8)
キーワード
- Attribute (1)
- Namespace (1)
- each (1)
-
has
_ name? (1) -
local
_ name (1) - name (1)
- name= (1)
- prefix (1)
- prefix= (1)
- whitespace (1)
検索結果
先頭5件
-
REXML
:: Namespace (69001.0) -
XML 名前空間によって管理される「名前」を持つようなノードを 表すモジュール。
XML 名前空間によって管理される「名前」を持つようなノードを
表すモジュール。
要素(REXML::Element)、属性(REXML::Attribute)
に include されます。 -
REXML
:: Namespace # expanded _ name -> String (63067.0) -
REXML::Namespace#name= で設定された名前を返します。
REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix -
REXML
:: Namespace # has _ name?(other , ns = nil) -> bool (63037.0) -
self が other と ns で指定した名前を持っているならば真を返します。
self が other と ns で指定した名前を持っているならば真を返します。
ns が nil でない場合は名前空間も比較されます。
other が ":" を含んでいる(つまり prefix を含んでいる)場合は
REXML::Namespace#fully_expanded_name と other を比較します。
どちらでもない場合は other と REXML::Namespace#name を直接
比較します。
@param other 比較する名前(文字列)
@param ns 比較する名前空間(文字列) -
REXML
:: Namespace # prefix -> String (63019.0) -
prefix (前置修飾子) を返します。
prefix (前置修飾子) を返します。
@see REXML::Namespace#prefix= -
REXML
:: Namespace # prefix=(value) (63019.0) -
prefix (前置修飾子) を設定します。
prefix (前置修飾子) を設定します。
@param value prefix文字列
@see REXML::Namespace#prefix -
REXML
:: Namespace # fully _ expanded _ name -> String (63001.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: Namespace # local _ name -> String (63001.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # name -> String (63001.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # name=(name) (63001.0) -
名前を設定します。
名前を設定します。
prefix を持つ名前も持たない名前も受け付けます。
@param name 名前(文字列) -
REXML
:: Attribute (19.0) -
要素(REXML::Element)の属性を表すクラスです。
要素(REXML::Element)の属性を表すクラスです。
つまり、 <element attribute="value"/> という
要素における attribute=value というペアのことです。
属性にはなんらかの名前空間(namespace, REXML::Namespace)
に属することができます。 -
REXML
:: Attributes # each {|name , value| . . . } -> () (19.0) -
各属性の名前と値に対しブロックを呼び出します。
各属性の名前と値に対しブロックを呼び出します。
名前には expanded_name(REXML::Namespace#exapnded_name)が
渡されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a... -
REXML
:: Element # whitespace -> bool (19.0) -
要素(self)内で空白が考慮されるならば真を返します。
要素(self)内で空白が考慮されるならば真を返します。
これは、
* REXML::Element#context に :respect_whitespace も :compress_whitespace も
含まれない
* context の :respect_whitespace に self の要素名が含まれていて、
:compress_whitespace に self の要素名が含まれていない。
「含まれている」というのには :all が指定されている場合と、
配列に含まれている場合の両方があります。
のいずれかの場合に真を返します。
要...