7件ヒット
[1-7件を表示]
(0.014秒)
種類
- インスタンスメソッド (3)
- 特異メソッド (2)
- クラス (1)
- 定数 (1)
ライブラリ
- ビルトイン (1)
-
cgi
/ html (2) -
rexml
/ document (4)
クラス
-
REXML
:: DocType (1) -
REXML
:: Text (1) - Regexp (1)
モジュール
-
CGI
:: HtmlExtension (2) -
REXML
:: EntityConst (1)
キーワード
- DocType (1)
- blockquote (2)
- entities (1)
- new (1)
- quote (1)
検索結果
先頭5件
- REXML
:: EntityConst :: QUOT -> REXML :: Entity - CGI
:: HtmlExtension # blockquote(cite = nil) -> String - CGI
:: HtmlExtension # blockquote(cite = nil) { . . . } -> String - REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) - Regexp
. quote(string) -> String
-
REXML
:: EntityConst :: QUOT -> REXML :: Entity (63652.0) -
「"」「"」というエンティティを表わすオブジェクト。
「"」「"」というエンティティを表わすオブジェクト。 -
CGI
:: HtmlExtension # blockquote(cite = nil) -> String (27301.0) -
blockquote 要素を生成します。
blockquote 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param cite 引用元を指定します。属性をハッシュで指定することもできます。
例:
blockquote("http://www.example.com/quotes/foo.html") { "Foo!" }
#=> "<BLOCKQUOTE CITE=\"http://www.example.com/quotes/foo.html\">Foo!</BLOCKQUOTE> -
CGI
:: HtmlExtension # blockquote(cite = nil) { . . . } -> String (27301.0) -
blockquote 要素を生成します。
blockquote 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param cite 引用元を指定します。属性をハッシュで指定することもできます。
例:
blockquote("http://www.example.com/quotes/foo.html") { "Foo!" }
#=> "<BLOCKQUOTE CITE=\"http://www.example.com/quotes/foo.html\">Foo!</BLOCKQUOTE> -
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (18619.0) -
テキストノードオブジェクトを生成します。
テキストノードオブジェクトを生成します。
arg でノードの内容を指定します。
文字列の場合はそれが内容として使われます。
REXML::Text オブジェクトの場合はその内容が複製されます。
respect_whitespace に真を指定すると、arg に含まれる空白文字は保存されます。
偽の場合は空白はまとめられます。
raw は true, false, nil のいずれかを指定し、生成されるテキストノードが
raw モードであるかどうかを決めます。
true の場合、そのノードは raw モードであると解釈され、
テキストにはエスケープされていないXMLマークアップは
含まれ... -
Regexp
. quote(string) -> String (18301.0) -
string の中で正規表現において特別な意味を持つ文字の直前にエ スケープ文字(バックスラッシュ)を挿入した文字列を返します。
string の中で正規表現において特別な意味を持つ文字の直前にエ
スケープ文字(バックスラッシュ)を挿入した文字列を返します。
@param string 正規表現において特別な意味をもつ文字をもつ文字列を指定します。
//emlist[例][ruby]{
rp = Regexp.escape("$bc^")
p rp # => "\\$bc\\^"
//} -
REXML
:: DocType # entities -> { String => REXML :: Entity } (9319.0) -
DTD で宣言されている実体の集合を Hash で返します。
DTD で宣言されている実体の集合を Hash で返します。
返される Hash は実体参照名をキーとし、対応する REXML::Entity オブジェクト
を値とするハッシュテーブルです。
これには、XML のデフォルトの実体(gt, lt, quot, apos)も含まれています。
//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar "barbarbarbar">
]>
EOS
p doctype.entities # => { "gt" => #... -
REXML
:: DocType (9019.0) -
XML の DTD(文書型定義、Document Type Definition)を表すクラスです。
XML の DTD(文書型定義、Document Type Definition)を表すクラスです。
rexml では DTD は積極的にはサポートされていません。
デフォルトの実体定義(gt, lt, amp, quot apos)の解決のため DTD は
ある程度はサポートされますが、スキーマの定義や検証をしたい場合は
XML schema や RELAX NG などを使ってください。
子ノード(REXML::Parent#children)として、
* REXML::ElementDecl
* REXML::ExternalEntity
* REXML::Entity
...