612件ヒット
[1-100件を表示]
(0.102秒)
別のキーワード
ライブラリ
-
cgi
/ html (480) -
rexml
/ document (120) - uri (12)
クラス
-
REXML
:: Attribute (36) -
REXML
:: Attributes (84) -
URI
:: LDAP (12)
モジュール
-
CGI
:: HtmlExtension (480)
キーワード
- [] (12)
- checkbox (24)
-
checkbox
_ group (24) -
file
_ field (24) - form (48)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) - hidden (24)
- html (24)
- img (24)
- length (12)
-
multipart
_ form (48) - namespace (12)
- namespaces (12)
-
password
_ field (24) - prefix (12)
- prefixes (12)
-
radio
_ group (24) - reset (24)
-
scrolling
_ list (24) - size (12)
- submit (24)
-
text
_ field (24) - textarea (24)
-
to
_ string (12)
検索結果
先頭5件
-
URI
:: LDAP # attributes -> String (18202.0) -
自身の Attribute を文字列で返します。
自身の Attribute を文字列で返します。 -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9125.0) -
namespace と name で特定される属性を返します。
...e.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 (9119.0) -
name という名前の属性を取得します。
...REXML::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_attri......bute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # length -> Integer (9107.0) -
属性の個数を返します。
...ます。
//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
p a.attributes.length # => 3
//}... -
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... -
CGI
:: HtmlExtension # checkbox _ group(attributes) -> String (6208.0) -
タイプが checkbox である input 要素のグループを生成します。
...す。
@param attributes 属性をハッシュで指定します。
例:
checkbox_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })
checkbox_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })
checkbox_group({ "NAME" =... -
CGI
:: HtmlExtension # image _ button(attributes) -> String (6208.0) -
タイプが image の input 要素を生成します。
...タイプが image の input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">... -
CGI
:: HtmlExtension # img(attributes) -> String (6208.0) -
img 要素を生成します。
...img 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
img({ "SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50 })
# <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">... -
CGI
:: HtmlExtension # radio _ group(attributes) -> String (6208.0) -
タイプが radio である input 要素のリストを生成します。
...きます。
@param attributes 属性をハッシュで指定します。
例:
radio_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })
radio_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })
radio_group({ "NAME" => "na...