48件ヒット
[1-48件を表示]
(0.083秒)
別のキーワード
ライブラリ
-
rexml
/ document (48)
クラス
-
REXML
:: DocType (12) -
REXML
:: Text (36)
キーワード
- new (24)
- normalize (12)
- unnormalize (12)
検索結果
先頭4件
- REXML
:: DocType . new(source , parent = nil) -> REXML :: DocType - REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) - REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String - REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String
-
REXML
:: DocType . new(source , parent = nil) -> REXML :: DocType (21108.0) -
DocType オブジェクトを生成します。
...トが
保持しているDTDのテキストがパースされ、その内容によって DocType
オブジェクトが初期化されます。
REXML::DocType.new(Source.new(<<EOS))
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dt... -
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (7.0) -
テキストノードオブジェクトを生成します。
...ルトの場合)、
テキストがどのようにエスケープされるかは、そのノードが属する
文書(REXML::Document)の
DTD(REXML::DocType, REXML::Document#doctype)
で定義されます。DTD が与えられていない場合は、XMLの規格上
以下の実体参照/対応文字... -
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (7.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
...input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列... -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (7.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...スケープしない実体の実体名を文字列配列で指定します。
@param string 非正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param filter アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないで...