198件ヒット
[101-198件を表示]
(0.077秒)
別のキーワード
ライブラリ
-
cgi
/ core (22) -
io
/ console (33) - json (22)
-
net
/ imap (33) -
rexml
/ document (66) -
rexml
/ streamlistener (11) -
webrick
/ httprequest (11)
クラス
- IO (33)
-
Net
:: IMAP :: ContinuationRequest (11) -
Net
:: IMAP :: TaggedResponse (11) -
Net
:: IMAP :: UntaggedResponse (11) -
REXML
:: Element (44) -
REXML
:: Text (22) -
WEBrick
:: HTTPRequest (11)
モジュール
キーワード
- attlistdecl (11)
- context (11)
-
get
_ text (11) - getch (11)
- raw! (11)
-
raw
_ data (33) -
raw
_ header (11) - text (11)
-
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) - value (11)
検索結果
先頭5件
-
Net
:: IMAP :: TaggedResponse # raw _ data -> String (6202.0) -
レスポンス文字列を返します。
レスポンス文字列を返します。
@see Net::IMAP::TaggedResponse#data -
Net
:: IMAP :: UntaggedResponse # raw _ data -> String (6202.0) -
レスポンス文字列を返します。
レスポンス文字列を返します。
@see Net::IMAP::UntaggedResponse#data -
WEBrick
:: HTTPRequest # raw _ header -> String (6202.0) -
生のヘッダを返します。
生のヘッダを返します。 -
REXML
:: Element # context -> {Symbol => object} | nil (231.0) -
要素の「コンテキスト」を Hash で返します。
...odes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します。
すべてのノードを raw mode で取り扱って欲しい場合は :all を指定します。
raw mode においては、text 中の特......殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@see REXML::Element.new, REXML::Element#context=... -
REXML
:: StreamListener # attlistdecl(element _ name , attributes , raw _ content) -> () (214.0) -
DTDの属性リスト宣言をパースしたときに呼び出されるコールバックです。
...性名文字列 => デフォルト値文字列(無ければnil) } という
ハッシュテーブルで渡されます
@param raw_content 文書内の属性リスト宣言の文字列がそのまま渡されます
=== 例
<!ATTLIST a att CDATA #REQUIRED xyz CDATA "foobar">
という属性リ......スト宣言に対しては
element_name: "a"
attributes: {"att"=>nil, "xyz"=>"foobar"}
raw_content: " \n<!ATTLIST a att CDATA #REQUIRED xyz CDATA \"foobar\">"
という引数が渡されます。... -
REXML
:: Element # get _ text(path = nil) -> REXML :: Text | nil (131.0) -
先頭のテキスト子ノードを返します。
...先頭のテキスト子ノードを返します。
raw モードの設定は無視され、常に正規化されたテキストを返します。
REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字......xt
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.get_text.value # => "some text "
//}... -
REXML
:: Element # text(path = nil) -> String | nil (131.0) -
先頭のテキスト子ノードの文字列を返します。
...テキストノードを複数保持している場合は最初のノードにしか
アクセスできないことに注意してください。
raw モードの設定は無視され、常に正規化されたテキストを返します。
REXML::Text#value も参照してください。
path......ent#get_text
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.text # => "some text "
//}... -
IO
# getch -> String (117.0) -
raw モードで一文字読み込んだ結果を返します。
...
raw モードで一文字読み込んだ結果を返します。... -
REXML
:: Text # value -> String (113.0) -
テキストの内容を非正規化(すべての実体をアンエスケープ)された状態で返します。
...。
このメソッドの返り値では raw モードや entity_filter は無視されます。
@see REXML::Text#raw, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
t = REXML::Text.new("< & foobar", false, nil, false)
t.to_s # => "< & foobar"
t.value # => "< & foobar"
//}...