312件ヒット
[201-300件を表示]
(0.114秒)
別のキーワード
ライブラリ
-
net
/ imap (12) - rake (48)
-
rexml
/ document (252)
クラス
-
Net
:: IMAP (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (48) -
REXML
:: DocType (12) -
REXML
:: Element (84) -
Rake
:: NameSpace (24)
モジュール
- Kernel (12)
-
REXML
:: Namespace (96) -
Rake
:: TaskManager (12)
キーワード
- [] (12)
-
add
_ namespace (24) - attribute (12)
- capability (12)
-
delete
_ namespace (12) - each (12)
-
each
_ attribute (12) -
get
_ attribute _ ns (12) -
has
_ name? (12) -
in
_ namespace (12) -
local
_ name (12) - name (12)
- name= (12)
- namespaces (36)
- prefix (12)
- prefix= (12)
- tasks (12)
- whitespace (12)
検索結果
先頭5件
-
REXML
:: Namespace # fully _ expanded _ name -> String (3001.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: Namespace # local _ name -> String (3001.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # name -> String (3001.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # name=(name) (3001.0) -
名前を設定します。
名前を設定します。
prefix を持つ名前も持たない名前も受け付けます。
@param name 名前(文字列) -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (130.0) -
namespace と name で特定される属性を返します。
...namespace と name で特定される属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合......でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"... -
REXML
:: Element # attribute(name , namespace = nil) -> REXML :: Attribute | nil (114.0) -
name で指定される属性を返します。
...きます。
namespace で名前空間の URI を指定することで、その名前空間内で
name という属性名を持つ属性を指定できます。
指定した属性名の属性がない場合は nil を返します。
@param name 属性名(文字列)
@param namespace 名前空間... -
Net
:: IMAP # capability -> [String] (7.0) -
CAPABILITY コマンドを送ってサーバがサポートしている 機能(capabilities)のリストを文字列の配列として返します。
...ンドを送ってサーバがサポートしている
機能(capabilities)のリストを文字列の配列として返します。
capability は IMAP に関連する RFC などで定義されています。
imap.capability
# => ["IMAP4REV1", "UNSELECT", "IDLE", "NAMESPACE", "QUOTA", ... ]... -
REXML
:: Attributes # each {|name , value| . . . } -> () (7.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://examp... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (7.0) -
各属性に対しブロックを呼び出します。
...bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}...