352件ヒット
[1-100件を表示]
(0.173秒)
種類
- インスタンスメソッド (297)
- 特異メソッド (33)
- 定数 (11)
- モジュール (11)
ライブラリ
-
cgi
/ html (88) - fiddle (11)
-
fiddle
/ types (11) -
rexml
/ document (209) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (22)
クラス
-
Fiddle
:: Closure (11) -
REXML
:: DocType (165) -
REXML
:: Document (11) -
REXML
:: Text (33)
モジュール
-
CGI
:: Html3 (11) -
CGI
:: Html4 (11) -
CGI
:: Html4Fr (11) -
CGI
:: Html4Tr (11) -
CGI
:: HtmlExtension (44) -
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (22)
キーワード
- BasicTypes (11)
-
DEFAULT
_ ENTITIES (11) - add (11)
-
attribute
_ of (11) -
attributes
_ of (11) - doctype (88)
-
doctype
_ end (11) - entities (11)
- entity (11)
-
external
_ id (11) - form (22)
-
multipart
_ form (22) - name (11)
- namespaces (11)
- new (11)
- normalize (11)
- notation (11)
- notations (11)
- public (11)
- system (11)
- unnormalize (11)
- write (11)
検索結果
先頭5件
-
Fiddle
:: Closure # ctype -> Integer (24301.0) -
返り値の型を返します。
返り値の型を返します。 -
Fiddle
:: BasicTypes (18000.0) -
よく使われる型の別名を定義するモジュールです。
...よく使われる型の別名を定義するモジュールです。
include すると 以下の型が定義されます。
* "uint"
* "u_int"
* "ulong"
* "u_long"... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (15400.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...ト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない......かの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book......UIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attribute_of("book", "publisher") # => "foobar publisher"
p doctype.attribute_of("bar", "foo") # => nil
p doctype.attribute_of("book", "baz") # => nil
p doctype.attribute_of("book", "title") # => ni... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (15400.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...L::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books......<!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_o... -
REXML
:: DocType # entities -> { String => REXML :: Entity } (15400.0) -
DTD で宣言されている実体の集合を Hash で返します。
...ity オブジェクト
を値とするハッシュテーブルです。
これには、XML のデフォルトの実体(gt, lt, quot, apos)も含まれています。
//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "barbarbarbar">
]>
EOS
p doctype.enti......ties # => { "gt" => #<REXML::Entity: ...>,
# "lt" => #<REXML::Entity: ...>, ... }
p doctype.entities["bar"].to_s # => "<!ENTITY bar \"barbarbarbar\">"
p doctype.entities["gt"].to_s # => "<!ENTITY gt \">\">"
//}... -
REXML
:: DocType # notation(name) -> REXML :: NotationDecl | nil (15400.0) -
DTD に含まれている記法宣言 (REXML::NotationDecl) で name という名前を持つものを返します。
...DTD に含まれている記法宣言 (REXML::NotationDecl) で
name という名前を持つものを返します。
name という名前を持つ記法宣言が存在しない場合は nil を返します。
@param name 検索する記法名... -
REXML
:: DocType # notations -> [REXML :: NotationDecl] (15400.0) -
DTD に含まれている記法宣言 (REXML::NotationDecl) を 配列で返します。
...DTD に含まれている記法宣言 (REXML::NotationDecl) を
配列で返します。... -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (15400.0) -
output に DTD を出力します。
...の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないでください。
//emlist[][ruby]{
require 'rexml/document'
doctype = R......ew(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
EOS
doctype.write(STDOUT)
#... -
REXML
:: DocType :: DEFAULT _ ENTITIES -> { String => REXML :: Entity } (15400.0) -
XML の仕様上デフォルトで定義されている実体の Hash table。
...XML の仕様上デフォルトで定義されている実体の Hash table。
"amp" => REXML::EntityConst::AMP は含まれません。... -
REXML
:: DocType # entity(name) -> String | nil (15200.0) -
name という実体参照名を持つ実体を文字列で返します。
...EXML::Entity#unnormalized 参照)
された文字列が返されます。
name という名前を持つ実体が存在しない場合には nil を返します。
@param name 実体参照名(文字列)
//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "......barbarbarbar">
]>
EOS
p doctype.entity("bar") # => "barbarbar"
p doctype.entity("foo") # => nil
//}...