ライブラリ
-
cgi
/ html (176) - openssl (22)
-
rexml
/ document (132) - uri (22)
クラス
-
OpenSSL
:: X509 :: Request (22) -
REXML
:: Attribute (33) -
REXML
:: Attributes (88) -
REXML
:: DocType (11) -
URI
:: LDAP (22)
モジュール
-
CGI
:: HtmlExtension (176)
キーワード
- [] (11)
- attributes= (22)
-
attributes
_ of (11) -
checkbox
_ group (22) - each (11)
-
each
_ attribute (11) - form (22)
-
get
_ attribute _ ns (11) - length (11)
-
multipart
_ form (44) - namespace (11)
- namespaces (11)
-
password
_ field (22) - prefix (11)
- prefixes (11)
-
radio
_ group (22) -
scrolling
_ list (22) - size (11)
-
to
_ string (11)
検索結果
先頭5件
- OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] - URI
:: LDAP # attributes -> String - CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") -> String - CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") { . . . } -> String - CGI
:: HtmlExtension # multipart _ form(attributes) -> String
-
OpenSSL
:: X509 :: Request # attributes -> [OpenSSL :: X509 :: Attribute] (24302.0) -
CSR が保持している attribute を OpenSSL::X509::Attribute の配列で返します。
...CSR が保持している attribute を OpenSSL::X509::Attribute
の配列で返します。
attribute とは X.509 証明書署名要求 に含まれる申請者に関する
追加的な情報です。必須ではありません。X.509v3 拡張領域を
CSR に含めるときは "reqExt" とい......う oid の attribute を追加
します。
@see OpenSSL::X509::Request#attribute=,
OpenSSL::X509::Request#add_attribute... -
URI
:: LDAP # attributes -> String (24102.0) -
自身の Attribute を文字列で返します。
自身の Attribute を文字列で返します。 -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") -> String (12404.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。......例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") { . . . } -> String (12404.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。......例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # multipart _ form(attributes) -> String (12309.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM......METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # multipart _ form(attributes) { . . . } -> String (12309.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM......METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # password _ field(attributes) -> String (12308.0) -
タイプが password である input 要素を生成します。
...タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (12238.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...宣言で、 element という名前の要素に対し宣言されている
属性の名前とデフォルト値を REXML::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現......list[][ruby]{
require '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 doctyp......e.attributes_of("book")
# => [author='', title='', publisher='foobar publisher']
p doctype.attributes_of("book")[0].name # => "author"
p doctype.attributes_of("book")[0].value # => ""
//}... -
CGI
:: HtmlExtension # password _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (12203.0) -
タイプが password である input 要素を生成します。
...プが password である input 要素を生成します。
@param name name 属性の値を指定します。
@param value 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
password_field("na......me")
# <INPUT TYPE="password" NAME="name" SIZE="40">
password_field("name", "value")
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">
password_field("password", "value", 80, 200)
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">... -
REXML
:: Attributes # namespaces -> { String => String } (12125.0) -
self の中で宣言されている名前空間の集合を返します。
...elf の中で宣言されている名前空間の集合を返します。
返り値は名前空間の prefix をキーとし、URI を値とする
Hash を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xml......ns: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://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}...