9件ヒット
[1-9件を表示]
(0.035秒)
別のキーワード
種類
- インスタンスメソッド (7)
- 定数 (1)
- 特異メソッド (1)
ライブラリ
-
rexml
/ document (9)
キーワード
-
DEFAULT
_ VERSION (1) - encoding (1)
- encoding= (1)
- new (1)
-
stand
_ alone? (1) - standalone (1)
- version (1)
- writeencoding (1)
- xmldecl (1)
検索結果
先頭5件
-
REXML
:: XMLDecl # encoding -> String | nil (18604.0) -
設定されているエンコーディングの名前を文字列で返します。
設定されているエンコーディングの名前を文字列で返します。
エンコーディングが指定されていない(デフォルトの UTF-8 とみなされます)
場合は nil を返します。 -
REXML
:: XMLDecl # encoding=(enc) (18304.0) -
エンコーディングを enc に設定します。
...エンコーディングを enc に設定します。
enc に nil を渡すと XML 宣言では encoding が
指定されていない(デフォルトで UTF-8 が使われる)
ことになります。
@param enc エンコーディング(文字列 or nil)
@see REXML::XMLDecl#encoding=... -
REXML
:: XMLDecl # writeencoding -> bool (18304.0) -
XML宣言内の encoding の宣言を出力時に省略するならば真を返します。
XML宣言内の encoding の宣言を出力時に省略するならば真を返します。
これが真であっても UTF-8 以外のエンコーディングを指定している
ならば encoding は出力されます。 -
REXML
:: XMLDecl # stand _ alone? -> String | nil (304.0) -
スタンドアロン文書であるかどうかを "yes" "no" で 返します。
スタンドアロン文書であるかどうかを "yes" "no" で
返します。
nil(省略)を返す場合もあります。 -
REXML
:: XMLDecl # standalone -> String | nil (304.0) -
スタンドアロン文書であるかどうかを "yes" "no" で 返します。
スタンドアロン文書であるかどうかを "yes" "no" で
返します。
nil(省略)を返す場合もあります。 -
REXML
:: XMLDecl # version -> String (304.0) -
XML文書のバージョンを文字列で返します。
XML文書のバージョンを文字列で返します。 -
REXML
:: XMLDecl # xmldecl(version , encoding , standalone) -> () (304.0) -
内容を更新します。
内容を更新します。
@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil) -
REXML
:: XMLDecl . new(version = REXML :: XMLDecl :: DEFAULT _ VERSION , encoding = nil , standalone = nil) (304.0) -
新たな XMLDecl オブジェクトを生成して返します。
新たな XMLDecl オブジェクトを生成して返します。
version 以外は省略可能です。
@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil) -
REXML
:: XMLDecl :: DEFAULT _ VERSION -> String (304.0) -
REXML::XMLDecl.new や REXML::XMLDecl.default で の使われるデフォルトのXMLバージョン。
...REXML::XMLDecl.new や REXML::XMLDecl.default で
の使われるデフォルトのXMLバージョン。...