84件ヒット
[1-84件を表示]
(0.041秒)
クラス
-
REXML
:: Comment (24) -
REXML
:: Document (12) -
REXML
:: Element (12) -
REXML
:: Entity (12) -
REXML
:: Text (24)
キーワード
- matches? (12)
- new (48)
- normalize (12)
- unnormalize (12)
検索結果
先頭5件
- REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String - REXML
:: Entity . matches?(string) -> bool - REXML
:: Comment . new(string , parent = nil) -> REXML :: Comment - REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String - REXML
:: Comment . new(comment , parent = nil) -> REXML :: Comment
-
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (227.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...string を非正規化(すべての entity をアンエスケープ)したものを
返します。
filter でアンエスケープしない実体の実体名を文字列配列で指定します。
@param string 非正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@par... -
REXML
:: Entity . matches?(string) -> bool (126.0) -
string が実体宣言の文法に従う文字列であれば真を返します。
...string が実体宣言の文法に従う文字列であれば真を返します。
@param string 判定対象の文字列
//emlist[][ruby]{
require 'rexml/document'
p REXML::Entity.matches?('<!ENTITY s "seal">') # => true
p REXML::Entity.matches?('<!ENTITY % s "seal">') # => true
p REXML::Entity.... -
REXML
:: Comment . new(string , parent = nil) -> REXML :: Comment (110.0) -
Comment オブジェクトを生成します。
...ment オブジェクトを生成します。
引数に REXML::Comment オブジェクトを渡すとその内容が複製されます
(親ノードの情報は複製されません)。
@param string コメント文字列
@param comment REXML::Comment オブジェクト
@param parent 親ノード... -
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (104.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列 -
REXML
:: Comment . new(comment , parent = nil) -> REXML :: Comment (10.0) -
Comment オブジェクトを生成します。
...ment オブジェクトを生成します。
引数に REXML::Comment オブジェクトを渡すとその内容が複製されます
(親ノードの情報は複製されません)。
@param string コメント文字列
@param comment REXML::Comment オブジェクト
@param parent 親ノード... -
REXML
:: Document . new(source = nil , context = {}) -> REXML :: Document (9.0) -
Document オブジェクトを生成します。
...Document オブジェクトを生成します。
source には String、IO、REXML::Document のいずかが
指定できます。 REXML::Document を指定すると
コンテキストと要素、属性が複製されます。
文字列の場合はそれを XML と見なしてパースします。... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (9.0) -
要素オブジェクトを生成します。
...ては、text 中の特殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REX...