るりまサーチ

最速Rubyリファレンスマニュアル検索!
144件ヒット [1-100件を表示] (0.023秒)
トップページ > クエリ:notationdecl[x] > ライブラリ:rexml/document[x]

別のキーワード

  1. rexml notationdecl
  2. notationdecl new
  3. notationdecl name
  4. notationdecl to_s
  5. notationdecl write

クラス

キーワード

検索結果

<< 1 2 > >>

REXML::NotationDecl (6002.0)

DTD の記法宣言を表すクラスです。

...DTD の記法宣言を表すクラスです。


//emlist[][ruby]{
require 'rexml/document'

doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!NOTATION type-image-svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!NOTATION type-image-g...

REXML::NotationDecl.new(name, middle, pub, sys) -> REXML::NotationDecl (3119.0)

NotationDecl オブジェクトを生成します。

...NotationDecl オブジェクトを生成します。

@param name 記法名(文字列)
@param middle 種別("PUBLIC" もしくは "SYSTEM")
@param pub 公開識別子(文字列)
@param sys URI(文字列)...

REXML::NotationDecl#name -> String (3002.0)

記法宣言の名前を返します。

記法宣言の名前を返します。

REXML::NotationDecl#public -> String | nil (3002.0)

公開識別子を返します。

公開識別子を返します。

宣言が公開識別子を含まない場合は nil を返します。

REXML::NotationDecl#public=(value) (3002.0)

公開識別子を value に変更します。

公開識別子を value に変更します。

@param value 設定する公開識別子(文字列)

絞り込み条件を変える

REXML::NotationDecl#system -> String | nil (3002.0)

システム識別子(URI)を返します。

システム識別子(URI)を返します。

宣言がシステム識別子を含まない場合は nil を返します。

REXML::NotationDecl#system=(value) (3002.0)

システム識別子を変更します。

システム識別子を変更します。

@param value 設定するシステム識別子

REXML::NotationDecl#to_s -> String (3002.0)

self を文字列化したものを返します。

self を文字列化したものを返します。

REXML::NotationDecl#write(output, indent = -1) (3002.0)

output へ self を文字列化して出力します。

output へ self を文字列化して出力します。

このメソッドは deprecated です。REXML::Formatter で
出力してください。

@param output 出力先の IO オブジェクト
@param indent インデントの大きさ。無視されます。
<< 1 2 > >>