684件ヒット
[1-100件を表示]
(0.092秒)
ライブラリ
-
cgi
/ html (480) - openssl (24)
-
rdoc
/ context (12) -
rexml
/ document (132) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
webrick
/ httprequest (12)
クラス
-
OpenSSL
:: X509 :: Request (24) -
RDoc
:: Context (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (96) -
REXML
:: DocType (12) -
REXML
:: Element (12) -
WEBrick
:: HTTPRequest (12)
モジュール
-
CGI
:: HtmlExtension (480) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
- << (12)
- [] (12)
- add (12)
-
add
_ attributes (12) - attlistdecl (12)
- attributes= (12)
-
attributes
_ of (12) - checkbox (24)
-
checkbox
_ group (24) - delete (12)
- each (12)
-
each
_ attribute (12) -
file
_ field (24) - form (48)
-
get
_ attribute _ ns (12) - hidden (24)
- html (24)
- img (24)
-
multipart
_ form (48) - namespace (12)
- namespaces (12)
-
password
_ field (24) -
radio
_ group (24) - reset (24)
-
scrolling
_ list (24) -
start
_ element (12) - submit (24)
-
text
_ field (24) - textarea (24)
検索結果
先頭5件
-
RDoc
:: Context # attributes -> [RDoc :: Attr] (21218.0) -
追加された RDoc::Attr の配列を返します。
...追加された RDoc::Attr の配列を返します。... -
WEBrick
:: HTTPRequest # attributes -> Hash (21102.0) -
@todo ???
@todo ??? -
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (18118.0) -
CSR が保持している attribute を OpenSSL::X509::Attribute の配列で返します。
...CSR が保持している attribute を OpenSSL::X509::Attribute
の配列で返します。
attribute とは X.509 証明書署名要求 に含まれる申請者に関する
追加的な情報です。必須ではありません。X.509v3 拡張領域を
CSR に含めるときは "reqExt" とい... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (9120.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT 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("book")[0].name # => "author"
p doctype.attributes_of("book")[0].value # => ""
//}... -
REXML
:: Attributes # namespaces -> { String => String } (9119.0) -
self の中で宣言されている名前空間の集合を返します。
...][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
p doc.root.attributes.namespaces
# => {"foo"=>"http://ex......ample.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9113.0) -
各属性に対しブロックを呼び出します。
...ire '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,... -
REXML
:: Attributes # each {|name , value| . . . } -> () (9107.0) -
各属性の名前と値に対しブロックを呼び出します。
...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 = doc.get_elements("/roo......t/a").first
a.attributes.each do |name, value|
p [name, value]
end
# => ["foo:att", "1"]
# => ["bar:att", "2"]
# => ["att", "<"]
//}... -
REXML
:: StreamListener # attlistdecl(element _ name , attributes , raw _ content) -> () (6214.0) -
DTDの属性リスト宣言をパースしたときに呼び出されるコールバックです。
...要素名が文字列で渡されます
@param attributes 属性名とそのデフォルト値の対応が
{ 属性名文字列 => デフォルト値文字列(無ければnil) } という
ハッシュテーブルで渡されます
@param raw_content 文書内の属性リスト宣言の文......まま渡されます
=== 例
<!ATTLIST a att CDATA #REQUIRED xyz CDATA "foobar">
という属性リスト宣言に対しては
element_name: "a"
attributes: {"att"=>nil, "xyz"=>"foobar"}
raw_content: " \n<!ATTLIST a att CDATA #REQUIRED xyz CDATA \"foobar\">"
という引数が渡されま... -
CGI
:: HtmlExtension # scrolling _ list(attributes) -> String (6209.0) -
select 要素を生成します。
...select 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
popup_menu({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2......">
# <OPTION VALUE="1">Foo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>...