2926件ヒット
[1-100件を表示]
(0.097秒)
種類
- インスタンスメソッド (2420)
- 特異メソッド (385)
- 定数 (88)
- クラス (33)
クラス
-
REXML
:: AttlistDecl (77) -
REXML
:: Attribute (154) -
REXML
:: Attributes (165) -
REXML
:: CData (33) -
REXML
:: Child (77) -
REXML
:: Comment (44) -
REXML
:: Declaration (22) -
REXML
:: DocType (165) -
REXML
:: Document (198) -
REXML
:: Element (297) -
REXML
:: Elements (110) -
REXML
:: Entity (143) -
REXML
:: ExternalEntity (33) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (22) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (66) -
REXML
:: NotationDecl (66) -
REXML
:: Parent (209) -
REXML
:: ParseException (44) -
REXML
:: Parsers :: PullEvent (44) -
REXML
:: Parsers :: PullParser (22) -
REXML
:: Parsers :: SAX2Parser (66) -
REXML
:: Parsers :: StreamParser (11) -
REXML
:: Parsers :: UltraLightParser (33) -
REXML
:: Text (55) -
REXML
:: XMLDecl (121) -
REXML
:: XPath (33)
モジュール
-
REXML
:: EntityConst (44) -
REXML
:: Namespace (66) -
REXML
:: Node (66) -
REXML
:: SAX2Listener (187) -
REXML
:: Security (33) -
REXML
:: StreamListener (154)
キーワード
- << (33)
- == (22)
- AMP (11)
- DECLARATION (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ VERSION (11) - ExternalEntity (11)
- GT (11)
- Instruction (11)
- LT (11)
- NotationDecl (11)
- QUOT (11)
- UNDEFINED (11)
- [] (44)
- []= (11)
- add (44)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ element (11) -
add
_ namespace (11) - attlistdecl (22)
- attlistdecl? (11)
- attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - cdata (22)
- characters (11)
- children (11)
- clone (22)
- collect (11)
- comment (22)
- content (11)
- context (22)
- deafen (11)
- delete (22)
-
delete
_ all (11) -
delete
_ at (11) -
delete
_ attribute (11) -
delete
_ if (22) - doctype (44)
-
doctype
_ end (11) - document (22)
- dowrite (11)
- each (44)
-
each
_ attribute (11) -
each
_ child (22) -
each
_ element (11) -
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) -
each
_ index (22) -
each
_ recursive (11) - element (11)
-
element
_ name (11) - elementdecl (22)
- encoding (22)
- encoding= (11)
-
end
_ document (11) -
end
_ element (11) -
end
_ prefix _ mapping (11) - entities (11)
- entity (22)
-
entity
_ expansion _ limit (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) - entitydecl (22)
- entitydecl? (11)
- external (11)
-
external
_ id (11) -
find
_ first _ recursive (11) - first (11)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ text (11) -
has
_ attributes? (11) -
has
_ name? (11) - include? (11)
- index (22)
-
index
_ in _ parent (11) - inject (11)
-
insert
_ after (11) -
insert
_ before (11) - instruction (11)
- instruction? (11)
- instructions (11)
- length (22)
- line (11)
- listen (55)
-
local
_ name (11) - match (11)
- matches? (11)
- name (55)
- namespace (22)
- namespaces (33)
- ndata (11)
- new (242)
-
next
_ element (11) -
next
_ sibling (11) -
next
_ sibling _ node (11) -
node
_ type (33) - normalize (11)
- normalized (11)
- notation (11)
- notationdecl (22)
- notationdecl? (11)
- notations (11)
- nowrite (11)
- parent (11)
- parse (11)
-
parse
_ stream (11) - peek (11)
- position (11)
- prefix (22)
- prefixes (22)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling _ node (11) -
processing
_ instruction (11) - progress (11)
- pubid (11)
- public (22)
- ref (11)
- remove (22)
-
replace
_ child (11) -
replace
_ with (11) - rewind (11)
- root (11)
- size (33)
-
stand
_ alone? (22) - standalone (11)
-
start
_ document (11) -
start
_ element (11) -
start
_ prefix _ mapping (11) - string (11)
- system (22)
-
tag
_ end (11) -
tag
_ start (11) - target (11)
- text (22)
-
to
_ a (33) -
to
_ s (110) -
to
_ string (11) - unnormalize (11)
- unnormalized (11)
- unshift (22)
- value (44)
- version (22)
- whitespace (11)
- width (11)
- write (121)
- writeencoding (11)
- writethis (11)
-
xml
_ decl (11) - xmldecl (33)
- xpath (22)
検索結果
先頭5件
-
REXML
:: Security . entity _ expansion _ text _ limit -> Integer (15331.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 _ limit -> Integer (15301.0) -
実体参照の展開回数の上限を返します。
...書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10000 です。
@see REXML::Document.entity_expansion_limit... -
REXML
:: Security . entity _ expansion _ text _ limit=(val) (15231.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
:: Node # index _ in _ parent -> Insteger (12407.0) -
self の親における index を返します。
...self の親における index を返します。
返される index は 1-origin です。
ノードが親を持たない(REXML::Child でない)場合は例外を発生させます。... -
REXML
:: Document . entity _ expansion _ text _ limit -> Integer (12331.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/... -
REXML
:: Document . entity _ expansion _ limit -> Integer (12301.0) -
実体参照の展開回数の上限を返します。
...実体参照の展開回数の上限を返します。
XML 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 1......0000 です。
このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_limit を使ってください。
@see REXML::Document.entity_expansion_limit=... -
REXML
:: Document . entity _ expansion _ text _ limit=(val) (12231.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/... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9301.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 fo......o:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/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
:: Attributes # get _ attribute(name) -> Attribute | nil (9301.0) -
name という名前の属性を取得します。
...得します。
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://e......xample.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
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 (9301.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").fir......st
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
//}...