1441件ヒット
[1-100件を表示]
(0.119秒)
種類
- インスタンスメソッド (1056)
- 特異メソッド (264)
- 定数 (55)
- クラス (44)
- モジュール (22)
クラス
-
REXML
:: AttlistDecl (44) -
REXML
:: Attribute (176) -
REXML
:: Attributes (176) -
REXML
:: CData (22) -
REXML
:: Child (33) -
REXML
:: Comment (11) -
REXML
:: Declaration (11) -
REXML
:: DocType (66) -
REXML
:: Document (209) -
REXML
:: Element (176) -
REXML
:: Entity (55) -
REXML
:: ExternalEntity (11) -
REXML
:: Formatters :: Default (22) -
REXML
:: Instruction (88) -
REXML
:: NotationDecl (55) -
REXML
:: Parent (44) -
REXML
:: Text (33) -
REXML
:: XMLDecl (33)
モジュール
-
REXML
:: EntityConst (11) -
REXML
:: Namespace (22) -
REXML
:: Node (33) -
REXML
:: Security (44)
キーワード
- << (22)
- == (22)
- Attribute (11)
- Attributes (11)
- DECLARATION (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ VERSION (11) - Functions (11)
- IOSource (11)
- Instruction (11)
- QUOT (11)
- Security (11)
- UNDEFINED (11)
- [] (11)
- []= (11)
- add (22)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ namespace (22) - attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - clone (22)
- content (11)
- content= (11)
- delete (11)
-
delete
_ all (11) -
delete
_ attribute (11) -
delete
_ if (11) - doctype (11)
- document (22)
- each (22)
-
each
_ attribute (11) -
each
_ child (11) -
each
_ element _ with _ attribute (11) -
each
_ index (11) -
each
_ recursive (11) - element (11)
- element= (11)
- encoding (11)
-
entity
_ expansion _ limit (22) -
entity
_ expansion _ limit= (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) -
find
_ first _ recursive (11) -
get
_ attribute (11) -
get
_ attribute _ ns (11) -
has
_ attributes? (11) - include? (11)
- instructions (11)
- length (11)
- name (11)
- namespace (11)
- namespaces (11)
- new (143)
-
node
_ type (22) - normalize (11)
- normalized= (11)
-
parse
_ stream (11) - prefix (11)
- prefix= (11)
- prefixes (11)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling= (11) -
previous
_ sibling _ node (11) - pubid (11)
- public (22)
- public= (11)
- remove (11)
- root (11)
- size (11)
-
stand
_ alone? (11) - string= (11)
- system= (11)
- target (11)
- target= (11)
-
to
_ a (11) -
to
_ s (11) -
to
_ string (11) - unnormalize (11)
- unnormalized (11)
- unshift (11)
- value (44)
- version (11)
- version= (11)
- write (121)
-
xml
_ decl (11) - xpath (11)
検索結果
先頭5件
-
REXML
:: Security . entity _ expansion _ limit -> Integer (24302.0) -
実体参照の展開回数の上限を返します。
...L 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10000 です。
@see REXML::Document.entity_expansion_limi... -
REXML
:: Security . entity _ expansion _ limit=(val) (24302.0) -
実体参照の展開回数の上限を指定します。
...の展開回数の上限を指定します。
XML 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
デフォルトは 10000 です。
@param val 設定する上限値(整数)
@see REXML::Document.entity_expansion_limit... -
REXML
:: Security . entity _ expansion _ text _ limit -> Integer (24302.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
...せ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10240 (byte) です。
@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/... -
REXML
:: Security . entity _ expansion _ text _ limit=(val) (24302.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
...させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10240 (byte) です。
@see REXML::Document.entity_expansion_text_limit
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (21502.0) -
name という名前の属性を取得します。
...合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</roo......t>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (21502.0) -
namespace と name で特定される属性を返します。
...る属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使......(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").fi......rst
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (21402.0) -
各属性に対しブロックを呼び出します。
...は REXML::Attribute オブジェクトで渡されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/r......oot/a").first
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}... -
REXML
:: Document . entity _ expansion _ limit -> Integer (21302.0) -
実体参照の展開回数の上限を返します。
...。
XML 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10000 です。
このメソッドは Ruby 2.1 か......ら deprecated になりました。
REXML::Security.entity_expansion_limit を使ってください。
@see REXML::Document.entity_expansion_limit=... -
REXML
:: Document . entity _ expansion _ limit=(val) (21302.0) -
実体参照の展開回数の上限を指定します。
...ます。
XML 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
デフォルトは 10000 です。
このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_limit= を使って......ください。
@param val 設定する上限値(整数)
@see REXML::Document.entity_expansion_limit... -
REXML
:: Document . entity _ expansion _ text _ limit -> Integer (21302.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
...トは 10240 (byte) です。
このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_text_limit を使ってください。
@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/...