るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.083秒)
トップページ > 種類:特異メソッド[x] > クエリ:REXML::DocType[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document clone
  4. rexml/document to_s
  5. rexml/document node_type

ライブラリ

クラス

キーワード

検索結果

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 内部用。使わないで...