3684件ヒット
[1-100件を表示]
(0.033秒)
別のキーワード
ライブラリ
- rexml (48)
-
rexml
/ document (2892) -
rexml
/ parsers / pullparser (252) -
rexml
/ parsers / sax2parser (84) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (24) -
rexml
/ sax2listener (204) -
rexml
/ streamlistener (168)
クラス
-
REXML
:: AttlistDecl (72) -
REXML
:: Attribute (168) -
REXML
:: Attributes (180) -
REXML
:: CData (36) -
REXML
:: Child (120) -
REXML
:: Comment (84) -
REXML
:: Declaration (24) -
REXML
:: DocType (192) -
REXML
:: Document (168) -
REXML
:: Element (504) -
REXML
:: Elements (156) -
REXML
:: Entity (120) -
REXML
:: ExternalEntity (24) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (48) -
REXML
:: Instruction (84) -
REXML
:: NotationDecl (84) -
REXML
:: Parent (336) -
REXML
:: ParseException (48) -
REXML
:: Parsers :: PullEvent (180) -
REXML
:: Parsers :: PullParser (72) -
REXML
:: Parsers :: SAX2Parser (84) -
REXML
:: Parsers :: StreamParser (12) -
REXML
:: Parsers :: UltraLightParser (24) -
REXML
:: Text (120) -
REXML
:: XMLDecl (180)
モジュール
-
REXML
:: Namespace (96) -
REXML
:: Node (84) -
REXML
:: SAX2Listener (204) -
REXML
:: StreamListener (168)
キーワード
- << (48)
- <=> (24)
- == (48)
- [] (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) - 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 (72)
-
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)
- entitydecl (24)
- entitydecl? (12)
-
event
_ type (12) - external (12)
-
external
_ id (12) -
find
_ first _ recursive (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) - name (60)
- name= (12)
- namespace (24)
- namespaces (36)
- ndata (12)
-
next
_ element (12) -
next
_ sibling (12) -
next
_ sibling= (12) -
next
_ sibling _ node (12) -
node
_ type (108) - normalized (12)
- normalized= (12)
- notation (12)
- notationdecl (24)
- notationdecl? (12)
- notations (12)
- nowrite (12)
- parent (12)
- parent= (12)
- parent? (24)
- parse (36)
- 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)
- root (24)
-
root
_ node (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) - 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)
- xpath (24)
検索結果
先頭5件
-
REXML
:: ParseException # context -> [Integer , Integer , Integer] (11013.0) -
パースエラーが起きた(XML上の)場所を返します。
...の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値... -
REXML
:: ParseException # line -> Integer (11001.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
REXML
:: ParseException # position -> Integer (11001.0) -
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。
パースエラーが起きた(XML上の)場所を先頭からのバイト数で返します。 -
REXML
:: ParseException # to _ s -> String (11001.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
REXML
:: Element # root _ node -> REXML :: Document | REXML :: Node (3227.0) -
self が属する文書のルートノードを返します。
...素が属する文書(REXML::Document) オブジェクトが
返されます。
その要素が属する REXML::Document オブジェクトが存在しない
場合は木構造上のルートノードが返されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (3142.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...デフォルト値を REXML::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS... -
REXML
:: Elements # to _ a(xpath = nil) -> [REXML :: Element] (3138.0) -
すべての子要素の配列を返します。
...要素の配列を返します。
REXML::Elements#each と同様、REXML::XPath.match などと
異なり、要素以外の子ノードは無視されます。
@param xpath XPath文字列
//emlist[][ruby]{
require 'rexml/document'
require 'rexml/xpath'
doc = REXML::Document.new '<a>sean<b/>elliot......t<c/></a>'
doc.root.elements.to_a # => [<b/>, <c/>]
doc.root.elements.to_a("child::node()") # => [<b/>, <c/>]
REXML::XPath.match(doc.root, "child::node()") # => ["sean", <b/>, "elliott", <c/>]
//}... -
REXML
:: Elements # <<(element = nil) -> REXML :: Element (3133.0) -
要素 element を追加します。
...要素 element を追加します。
element には文字列もしくは REXML::Element オブジェクトを
指定します。文字列を指定した場合には REXML::Element.new(element)
で生成される要素を追加します。
element を省略した場合は、空の要素が追加......ます。
追加された要素が返されます。
@param element 追加する要素
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new('a')
a.elements.add(REXML::Element.new('b')) # => <b/>
a.to_s # => "<a><b/></a>"
a.elements.add('c') # => <c/>
a.to_s # => "<a><b/><c/></a>"
//... -
REXML
:: Elements # add(element = nil) -> REXML :: Element (3133.0) -
要素 element を追加します。
...要素 element を追加します。
element には文字列もしくは REXML::Element オブジェクトを
指定します。文字列を指定した場合には REXML::Element.new(element)
で生成される要素を追加します。
element を省略した場合は、空の要素が追加......ます。
追加された要素が返されます。
@param element 追加する要素
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new('a')
a.elements.add(REXML::Element.new('b')) # => <b/>
a.to_s # => "<a><b/></a>"
a.elements.add('c') # => <c/>
a.to_s # => "<a><b/><c/></a>"
//...