828件ヒット
[1-100件を表示]
(0.071秒)
別のキーワード
種類
- インスタンスメソッド (672)
- 特異メソッド (108)
- クラス (24)
- モジュール (12)
- 文書 (12)
ライブラリ
-
cgi
/ html (312) - openssl (48)
-
rdoc
/ context (12) -
rexml
/ document (288) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
rubygems
/ specification (60) - uri (48)
-
webrick
/ accesslog (12) -
webrick
/ httprequest (12)
クラス
-
Gem
:: Specification (60) -
OpenSSL
:: ASN1 :: ObjectId (12) -
OpenSSL
:: X509 :: Request (24) -
RDoc
:: Context (12) -
REXML
:: Attribute (36) -
REXML
:: Attributes (192) -
REXML
:: DocType (12) -
REXML
:: Element (36) -
URI
:: LDAP (48) -
WEBrick
:: HTTPRequest (12)
モジュール
-
CGI
:: HtmlExtension (312) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (12)
- AccessLog (12)
- Attribute (12)
- [] (12)
- []= (12)
- add (12)
-
add
_ attributes (12) -
array
_ attributes (12) - attlistdecl (12)
- attribute (12)
-
attribute
_ defaults (12) - attributes (72)
- attributes= (24)
-
attributes
_ of (12) - build (24)
- checkbox (24)
-
checkbox
_ group (24) - delete (12)
-
delete
_ all (12) - each (12)
-
each
_ attribute (12) -
file
_ field (12) - form (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
has
_ attributes? (12) - hidden (12)
- html (24)
- img (12)
- length (12)
-
multipart
_ form (24) - namespace (12)
- namespaces (12)
- new (12)
-
password
_ field (12) - prefix (12)
- prefixes (12)
-
radio
_ group (12) - register (12)
-
required
_ attributes (12) - reset (12)
-
scrolling
_ list (12) - size (12)
-
start
_ element (12) - submit (24)
-
text
_ field (12) - textarea (12)
-
to
_ a (12) -
to
_ string (12)
検索結果
先頭5件
-
REXML
:: Attributes (24012.0) -
属性の集合を表すクラスです。
...属性の集合を表すクラスです。
REXML::Element#attributes はこのクラスのオブジェクトを返します。
各属性には REXML::Attributes#[] でアクセスします。... -
REXML
:: Element # attributes -> REXML :: Attributes (12402.0) -
要素が保持している属性の集合を返します。
要素が保持している属性の集合を返します。 -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (12319.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [......ENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attributes_of("book")
# => [author='', title='', publisher='foobar publisher']
p doctype.attributes_of("boo......k")[0].name # => "author"
p doctype.attributes_of("book")[0].value # => ""
//}... -
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (12301.0) -
CSR が保持している attribute を OpenSSL::X509::Attribute の配列で返します。
...attribute を OpenSSL::X509::Attribute
の配列で返します。
attribute とは X.509 証明書署名要求 に含まれる申請者に関する
追加的な情報です。必須ではありません。X.509v3 拡張領域を
CSR に含めるときは "reqExt" という oid の attribute を......追加
します。
@see OpenSSL::X509::Request#attribute=,
OpenSSL::X509::Request#add_attribute... -
REXML
:: Element # add _ attributes(attrs) -> () (12237.0) -
要素の属性を複数追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
...属性の属性名と属性値の対の集合(Array or Hash)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("e")
e.add_attributes({"a" => "b", "c" => "d"})
e # => <e a='b' c='d'/>
e = REXML::Element.new("e")
e.add_attributes([["a", "b"], ["c", "d"]])
e # => <e a='b' c='d'/>
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (12224.0) -
namespace と 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 = doc.get_elements("/root/a").first
a.attributes.get_attribute_ns("", "att") #......=> att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (12218.0) -
name という名前の属性を取得します。
...ML::Attributes#[]
//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 = doc.get_elements("/root/a").first
a.attributes.get_attribute......("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
Gem
:: Specification . array _ attributes -> Array (12217.0) -
@@array_attributes の複製を返します。
...@@array_attributes の複製を返します。
@see Object#dup... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (12206.0) -
各属性に対しブロックを呼び出します。
...。
個々の属性は REXML::Attribute オブジェクトで渡されます。
//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 =......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", "<"]
//}...