種類
- インスタンスメソッド (3377)
- 特異メソッド (484)
- クラス (407)
- モジュール (110)
- 定数 (99)
クラス
-
REXML
:: AttlistDecl (77) -
REXML
:: Attribute (176) -
REXML
:: Attributes (176) -
REXML
:: CData (44) -
REXML
:: Child (121) -
REXML
:: Comment (99) -
REXML
:: Declaration (22) -
REXML
:: DocType (198) -
REXML
:: Document (231) -
REXML
:: Element (484) -
REXML
:: ElementDecl (11) -
REXML
:: Elements (154) -
REXML
:: Entity (143) -
REXML
:: ExternalEntity (33) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (55) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (88) -
REXML
:: NotationDecl (88) -
REXML
:: Parent (319) -
REXML
:: ParseException (44) -
REXML
:: Parsers :: PullEvent (165) -
REXML
:: Parsers :: PullParser (77) -
REXML
:: Parsers :: SAX2Parser (88) -
REXML
:: Parsers :: StreamParser (22) -
REXML
:: Parsers :: UltraLightParser (33) -
REXML
:: Text (143) -
REXML
:: XMLDecl (198) -
REXML
:: XPath (33)
モジュール
-
REXML
:: EntityConst (55) -
REXML
:: Namespace (88) -
REXML
:: Node (77) -
REXML
:: SAX2Listener (187) -
REXML
:: Security (44) -
REXML
:: StreamListener (154)
キーワード
- << (44)
- <=> (22)
- == (44)
- AMP (11)
- APOS (11)
- AttlistDecl (11)
- Attribute (11)
- Attributes (11)
- BaseParser (11)
- CData (11)
- Child (11)
- Comment (11)
- DECLARATION (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ VERSION (11) - Declaration (11)
- Default (11)
- DocType (11)
- Document (11)
- Element (11)
- ElementDecl (11)
- Elements (11)
- Encoding (11)
- Entity (11)
- EntityConst (11)
- ExternalEntity (11)
- Functions (11)
- GT (11)
- IOSource (11)
- Instruction (11)
- LT (11)
- Namespace (11)
- Node (11)
- NotationDecl (11)
- Output (11)
- Parent (11)
- ParseException (11)
- Pretty (11)
- PullEvent (11)
- PullParser (11)
- QUOT (11)
- REXML (11)
- SAX2Listener (11)
- SAX2Parser (11)
- Security (11)
- Source (11)
- SourceFactory (11)
- StreamListener (11)
- StreamParser (11)
- Text (11)
- Transitive (11)
- TreeParser (11)
- UNDEFINED (11)
- UltraLightParser (11)
- UndefinedNamespaceException (11)
- XMLDecl (11)
- XMLTokens (11)
- XPath (11)
- XPathParser (11)
- [] (66)
- []= (55)
- add (55)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ element (11) -
add
_ namespace (22) - attlistdecl (22)
- attlistdecl? (11)
- attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - bytes (11)
- cdata (22)
- cdata? (11)
- cdatas (11)
- characters (11)
- children (11)
- clone (99)
- collect (11)
- comment (22)
- comment? (11)
- comments (11)
- compact (11)
- compact= (11)
- content (11)
- content= (11)
- context (33)
- context= (11)
- deafen (11)
-
deep
_ clone (11) - default (11)
- delete (33)
-
delete
_ all (22) -
delete
_ at (11) -
delete
_ attribute (11) -
delete
_ element (11) -
delete
_ if (22) -
delete
_ namespace (11) - doctype (44)
- doctype? (11)
-
doctype
_ end (11) - document (22)
- dowrite (11)
- each (77)
-
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= (11)
-
element
_ name (11) - elementdecl (22)
- elementdecl? (11)
- elements (11)
- empty? (33)
- encoding (22)
- encoding= (11)
-
end
_ document (11) -
end
_ element (11) -
end
_ element? (11) -
end
_ prefix _ mapping (11) - entities (11)
- entity (22)
-
entity
_ expansion _ limit (22) -
entity
_ expansion _ limit= (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) - entitydecl (22)
- entitydecl? (11)
-
event
_ type (11) - external (11)
-
external
_ id (11) -
find
_ first _ recursive (11) - first (11)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ elements (11) -
get
_ text (11) -
has
_ attributes? (11) -
has
_ elements? (11) -
has
_ name? (11) -
has
_ next? (11) -
has
_ text? (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)
- name= (11)
- namespace (22)
- namespaces (33)
- ndata (11)
- new (308)
-
next
_ element (11) -
next
_ sibling (11) -
next
_ sibling= (11) -
next
_ sibling _ node (11) -
node
_ type (99) - normalize (11)
- normalized (11)
- normalized= (11)
- notation (11)
- notationdecl (22)
- notationdecl? (11)
- notations (11)
- nowrite (11)
- parent (11)
- parent= (11)
- parent? (22)
- parse (33)
-
parse
_ stream (11) - peek (11)
- position (11)
- prefix (22)
- prefix= (11)
- prefixes (22)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling= (11) -
previous
_ sibling _ node (11) -
processing
_ instruction (11) - progress (11)
- pubid (11)
- public (22)
- public= (11)
- pull (11)
- push (11)
- raw (22)
- raw= (11)
- ref (11)
- remove (22)
-
replace
_ child (11) -
replace
_ with (11) - rewind (11)
- root (22)
-
root
_ node (11) - size (33)
-
stand
_ alone? (22) - standalone (11)
- standalone= (11)
-
start
_ document (11) -
start
_ element (11) -
start
_ element? (11) -
start
_ prefix _ mapping (11) - string (11)
- string= (11)
- system (22)
- system= (11)
-
tag
_ end (11) -
tag
_ start (11) - target (11)
- target= (11)
- text (22)
- text= (11)
- text? (11)
- texts (11)
-
to
_ a (33) -
to
_ s (110) -
to
_ string (11) - unnormalize (11)
- unnormalized (11)
- unshift (22)
- value (44)
- value= (11)
- version (22)
- version= (11)
- whitespace (11)
- width (11)
- width= (11)
- write (121)
- writeencoding (11)
- writethis (11)
-
xml
_ decl (11) - xmldecl (33)
- xmldecl? (11)
- xpath (22)
検索結果
先頭5件
-
REXML (2.0)
-
rexml の名前空間をなすモジュール。
...rexml の名前空間をなすモジュール。... -
REXML
:: ParseException (2.0) -
XML のパースに失敗したときに生じる例外です。
...XML のパースに失敗したときに生じる例外です。
//emlist[][ruby]{
require 'rexml/document'
begin
REXML::Document.new("<a>foo\n</b></a> ")
rescue REXML::ParseException => ex
ex.position # => 16
ex.line # => 2
ex.context # => [16, 2, 2]
end
//}... -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (2.0) -
パースエラーが起きた(XML上の)場所を返します。
...の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値... -
REXML
:: ParseException # line -> Integer (2.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
REXML
:: ParseException # position -> Integer (2.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。 -
REXML
:: ParseException # to _ s -> String (2.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
REXML
:: UndefinedNamespaceException (2.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。 -
REXML
:: AttlistDecl (1.0) -
DTD の属性リスト宣言を表すクラスです。
DTD の属性リスト宣言を表すクラスです。 -
REXML
:: AttlistDecl # [](key) -> String | nil (1.0) -
key という属性名のデフォルト値を返します。
key という属性名のデフォルト値を返します。
key という名前の属性が存在しない、もしくは
デフォルト値を持たない場合は nil を返します。 -
REXML
:: AttlistDecl # each {|name , value| . . . } -> () (1.0) -
それぞれの属性名、デフォルト値を引数として ブロックを順に呼び出します。
それぞれの属性名、デフォルト値を引数として
ブロックを順に呼び出します。
デフォルト値を持たない属性に関しては nil が渡されます。