るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.015秒)
トップページ > クエリ:type[x] > クラス:REXML::Text[x]

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type
  4. rss type=
  5. net/imap media_type

ライブラリ

キーワード

検索結果

REXML::Text#doctype -> REXML::DocType | nil (6201.0)

テキストノードが属する文書の DTD を返します。

...テキストノードが属する文書の DTD を返します。

そのような文書(REXML::Document)が存在しない、すなわち
テキストノードの親ノードを辿っても REXML::Document に到達しない、
場合には nil を返します。

@see REXML::DocType...

REXML::Text#node_type -> Symbol (6102.0)

Symbol :text を返します。

Symbol :text を返します。

REXML::Text.normalize(input, doctype = nil, entity_filter = nil) -> String (101.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 (101.0)

string を非正規化(すべての entity をアンエスケープ)したものを 返します。

...type DTD(REXML::DocType オブジェクト)
@param filter アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。

//emlist[][ruby]{
require 'rexml/text'
REXML::Text
.unnormalize("&amp; &foobar; &lt;") # => "& &foobar; <"
REXML::Text
...