別のキーワード
ライブラリ
- rexml (84)
-
rexml
/ document (3924) -
rexml
/ parsers / pullparser (288) -
rexml
/ parsers / sax2parser (108) -
rexml
/ parsers / streamparser (36) -
rexml
/ parsers / ultralightparser (48) -
rexml
/ sax2listener (216) -
rexml
/ streamlistener (180)
クラス
-
REXML
:: AttlistDecl (84) -
REXML
:: Attribute (192) -
REXML
:: Attributes (192) -
REXML
:: CData (48) -
REXML
:: Child (132) -
REXML
:: Comment (108) -
REXML
:: Declaration (24) -
REXML
:: DocType (216) -
REXML
:: Document (252) -
REXML
:: Element (528) -
REXML
:: ElementDecl (12) -
REXML
:: Elements (168) -
REXML
:: Entity (156) -
REXML
:: ExternalEntity (36) -
REXML
:: Formatters :: Default (24) -
REXML
:: Formatters :: Pretty (60) -
REXML
:: Formatters :: Transitive (12) -
REXML
:: Instruction (96) -
REXML
:: NotationDecl (96) -
REXML
:: Parent (348) -
REXML
:: ParseException (48) -
REXML
:: Parsers :: PullEvent (180) -
REXML
:: Parsers :: PullParser (84) -
REXML
:: Parsers :: SAX2Parser (96) -
REXML
:: Parsers :: StreamParser (24) -
REXML
:: Parsers :: UltraLightParser (36) -
REXML
:: Text (156) -
REXML
:: XMLDecl (216) -
REXML
:: XPath (36)
モジュール
-
REXML
:: EntityConst (60) -
REXML
:: Namespace (96) -
REXML
:: Node (84) -
REXML
:: SAX2Listener (204) -
REXML
:: Security (48) -
REXML
:: StreamListener (168)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (48)
- <=> (24)
- == (48)
- AMP (12)
- APOS (12)
- AttlistDecl (12)
- Attribute (12)
- Attributes (12)
- BaseParser (12)
- CData (12)
- Child (12)
- Comment (12)
- DECLARATION (12)
-
DEFAULT
_ ENTITIES (12) -
DEFAULT
_ VERSION (12) - Declaration (12)
- Default (12)
- DocType (12)
- Document (12)
- Element (12)
- ElementDecl (12)
- Elements (12)
- Encoding (12)
- Entity (12)
- EntityConst (12)
- ExternalEntity (12)
- Functions (12)
- GT (12)
- IOSource (12)
- Instruction (12)
- LT (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - Namespace (12)
- Node (12)
- NotationDecl (12)
- Output (12)
- Parent (12)
- ParseException (12)
- Pretty (12)
- PullEvent (12)
- PullParser (12)
- QUOT (12)
- REXML (12)
- SAX2Listener (12)
- SAX2Parser (12)
- Security (12)
- Source (12)
- SourceFactory (12)
- StreamListener (12)
- StreamParser (12)
- Text (12)
- Transitive (12)
- TreeParser (12)
- UNDEFINED (12)
- UltraLightParser (12)
- UndefinedNamespaceException (12)
- XMLDecl (12)
- XMLTokens (12)
- XPath (12)
- XPathParser (12)
- [] (72)
- []= (60)
- add (60)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attlistdecl (24)
- attlistdecl? (12)
- attribute (12)
-
attribute
_ of (12) - attributes (12)
-
attributes
_ of (12) - bytes (12)
- cdata (24)
- cdata? (12)
- cdatas (12)
- characters (12)
- children (12)
- clone (108)
- collect (12)
- comment (24)
- comment? (12)
- comments (12)
- compact (12)
- compact= (12)
- content (12)
- content= (12)
- context (36)
- context= (12)
- deafen (12)
-
deep
_ clone (12) - default (12)
- delete (36)
-
delete
_ all (24) -
delete
_ at (12) -
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ if (24) -
delete
_ namespace (12) - doctype (48)
- doctype? (12)
-
doctype
_ end (12) - document (24)
- dowrite (12)
- each (84)
-
each
_ attribute (12) -
each
_ child (24) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ index (24) -
each
_ recursive (12) - element (12)
- element= (12)
-
element
_ name (12) - elementdecl (24)
- elementdecl? (12)
- elements (12)
- empty? (36)
- encoding (24)
- encoding= (12)
-
end
_ document (12) -
end
_ element (12) -
end
_ element? (12) -
end
_ prefix _ mapping (12) - entities (12)
- entity (24)
-
entity
_ expansion _ limit (24) -
entity
_ expansion _ limit= (24) -
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - entitydecl (24)
- entitydecl? (12)
-
event
_ type (12) - external (12)
-
external
_ id (12) -
find
_ first _ recursive (12) - first (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ elements (12) -
get
_ text (12) -
has
_ attributes? (12) -
has
_ elements? (12) -
has
_ name? (12) -
has
_ next? (12) -
has
_ text? (12) - include? (12)
- index (24)
-
index
_ in _ parent (12) - inject (12)
-
insert
_ after (12) -
insert
_ before (12) - instruction (12)
- instruction? (12)
- instructions (12)
- length (24)
- line (12)
- listen (60)
-
local
_ name (12) - match (12)
- matches? (12)
- name (60)
- name= (12)
- namespace (24)
- namespaces (36)
- ndata (12)
- new (336)
-
next
_ element (12) -
next
_ sibling (12) -
next
_ sibling= (12) -
next
_ sibling _ node (12) -
node
_ type (108) - normalize (12)
- normalized (12)
- normalized= (12)
- notation (12)
- notationdecl (24)
- notationdecl? (12)
- notations (12)
- nowrite (12)
- parent (12)
- parent= (12)
- parent? (24)
- parse (36)
-
parse
_ stream (12) - peek (12)
- position (12)
- prefix (24)
- prefix= (12)
- prefixes (24)
-
previous
_ element (12) -
previous
_ sibling (12) -
previous
_ sibling= (12) -
previous
_ sibling _ node (12) -
processing
_ instruction (12) - progress (12)
- pubid (12)
- public (24)
- public= (12)
- pull (12)
- push (12)
- raw (24)
- raw= (12)
- ref (12)
- remove (24)
-
replace
_ child (12) -
replace
_ with (12) - rewind (12)
-
rexml
/ document (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) - root (24)
-
root
_ node (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) - size (36)
-
stand
_ alone? (24) - standalone (12)
- standalone= (12)
-
start
_ document (12) -
start
_ element (12) -
start
_ element? (12) -
start
_ prefix _ mapping (12) - string (12)
- string= (12)
- system (24)
- system= (12)
-
tag
_ end (12) -
tag
_ start (12) - target (12)
- target= (12)
- text (24)
- text= (12)
- text? (12)
- texts (12)
-
to
_ a (36) -
to
_ s (120) -
to
_ string (12) - unnormalize (12)
- unnormalized (12)
- unshift (24)
- value (48)
- value= (12)
- version (24)
- version= (12)
- whitespace (12)
- width (12)
- width= (12)
- write (132)
- writeencoding (12)
- writethis (12)
-
xml
_ decl (12) - xmldecl (36)
- xmldecl? (12)
- xmlrpc (3)
- xpath (24)
検索結果
先頭5件
-
rexml (38078.0)
-
Pure Ruby の XML パーサです。 DOM スタイルと SAX スタイルの両方をカバーしています。
...API を使うためには rexml/document を使います。
SAX スタイルの API には、
* rexml/parsers/sax2parser
* rexml/parsers/streamparser
のいずれかを用います。
また、それ以外のパーサとして
* rexml/parsers/pullparser
* rexml/parsers/ultralightparser......ク
* REXML Home
http://www.germane-software.com/software/rexml
* API リファレンス
http://www.germane-software.com/software/rexml_doc
日本語訳 http://pub.cozmixng.org/~kou/rexml-doc-ja/
* チュートリアル
http://www.germane-software.com/software/rexml/docs/tutor......ial.html
日本語訳 http://www.baykit.org/~makotos/cgi-bin/wiliki.cgi?REXML%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB&l=jp
* 日本語
http://www.cozmixng.org/~kou/ruby/rexml/
http://www.cozmixng.org/~kou/ruby/rexml/reference... -
REXML (14016.0)
-
rexml の名前空間をなすモジュール。
...rexml の名前空間をなすモジュール。... -
REXML
:: ParseException (11018.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] (11012.0) -
パースエラーが起きた(XML上の)場所を返します。
...の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値... -
REXML
:: ParseException # line -> Integer (11000.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
REXML
:: ParseException # position -> Integer (11000.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。 -
REXML
:: ParseException # to _ s -> String (11000.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
REXML
:: UndefinedNamespaceException (11000.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。 -
rexml
/ parsers / streamparser (6090.0) -
ストリーム式の XML パーサ。
...ストリーム式の XML パーサ。
rexml の XML パーサの中では高速ですが、機能は限定的です。
もう少し高機能なストリーム式パーサが必要な場合は
REXML::Parsers::SAX2Parser を用いてください。
パーサからはコールバックによって......た情報を受け取ります。
REXML::StreamListener を include し、
必要なメソッドをオーバーライドしたクラスのオブジェクトを
コールバックオブジェクトとして REXML::Parsers::StreamParser.new
に渡します。
REXML::Parsers::StreamParser#parse を呼......び出すと
パースが開始しその結果によってコールバックが呼び出されます。
コールバックされるメソッドは REXML::StreamListener になにもしない
メソッドとして定義されています。どのようなコールバックがあるかは
そちら...