種類
- インスタンスメソッド (2892)
- 特異メソッド (480)
- クラス (360)
- 定数 (108)
- モジュール (84)
クラス
-
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
:: Text (156) -
REXML
:: XMLDecl (216) -
REXML
:: XPath (36)
モジュール
-
REXML
:: EntityConst (60) -
REXML
:: Namespace (96) -
REXML
:: Node (84) -
REXML
:: Security (48)
キーワード
- << (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)
- Namespace (12)
- Node (12)
- NotationDecl (12)
- Output (12)
- Parent (12)
- Pretty (12)
- QUOT (12)
- Security (12)
- Source (12)
- SourceFactory (12)
- Text (12)
- Transitive (12)
- TreeParser (12)
- UNDEFINED (12)
- XMLDecl (12)
- XMLTokens (12)
- XPath (12)
- XPathParser (12)
- [] (48)
- []= (60)
- add (60)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
-
attribute
_ of (12) - attributes (12)
-
attributes
_ of (12) - bytes (12)
- cdatas (12)
- children (12)
- clone (108)
- collect (12)
- comments (12)
- compact (12)
- compact= (12)
- content (12)
- content= (12)
- context (24)
- context= (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 (24)
- 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) - elements (12)
- empty? (24)
- encoding (24)
- encoding= (12)
- entities (12)
- entity (12)
-
entity
_ expansion _ limit (24) -
entity
_ expansion _ limit= (24) -
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - 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
_ text? (12) - include? (12)
- index (24)
-
index
_ in _ parent (12) - inject (12)
-
insert
_ after (12) -
insert
_ before (12) - instructions (12)
- length (24)
-
local
_ name (12) - match (12)
- matches? (12)
- name (60)
- name= (12)
- namespace (24)
- namespaces (36)
- ndata (12)
- new (288)
-
next
_ element (12) -
next
_ sibling (12) -
next
_ sibling= (12) -
next
_ sibling _ node (12) -
node
_ type (108) - normalize (12)
- normalized (12)
- normalized= (12)
- notation (12)
- notations (12)
- nowrite (12)
- parent (12)
- parent= (12)
- parent? (24)
-
parse
_ stream (12) - prefix (24)
- prefix= (12)
- prefixes (24)
-
previous
_ element (12) -
previous
_ sibling (12) -
previous
_ sibling= (12) -
previous
_ sibling _ node (12) - pubid (12)
- public (24)
- public= (12)
- push (12)
- raw (24)
- raw= (12)
- ref (12)
- remove (24)
-
replace
_ child (12) -
replace
_ with (12) - root (24)
-
root
_ node (12) - size (36)
-
stand
_ alone? (24) - standalone (12)
- standalone= (12)
- string (12)
- string= (12)
- system (24)
- system= (12)
- target (12)
- target= (12)
- text (12)
- text= (12)
- texts (12)
-
to
_ a (36) -
to
_ s (108) -
to
_ string (12) - unnormalize (12)
- unnormalized (12)
- unshift (12)
- value (48)
- value= (12)
- version (24)
- version= (12)
- whitespace (12)
- width (12)
- width= (12)
- write (132)
- writeencoding (12)
- writethis (12)
-
xml
_ decl (12) - xmldecl (12)
- xpath (24)
検索結果
先頭5件
-
REXML
:: Attribute (2.0) -
要素(REXML::Element)の属性を表すクラスです。
要素(REXML::Element)の属性を表すクラスです。
つまり、 <element attribute="value"/> という
要素における attribute=value というペアのことです。
属性にはなんらかの名前空間(namespace, REXML::Namespace)
に属することができます。 -
REXML
:: Attribute # ==(other) -> bool (2.0) -
属性の名前と値が other と一致する場合に真を返します。
属性の名前と値が other と一致する場合に真を返します。 -
REXML
:: Attribute # clone -> REXML :: Element (2.0) -
self を複製し返します。
self を複製し返します。 -
REXML
:: Attribute # element -> REXML :: Element (2.0) -
その属性が属する要素を返します。
その属性が属する要素を返します。 -
REXML
:: Attribute # element=(element) (2.0) -
self が属する要素を変更します。
self が属する要素を変更します。
@param element 変更先の要素(REXML::Element) -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (2.0) -
属性の名前空間の URI を返します。
...間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:ns", "http://www.example.com/ns")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attrib... -
REXML
:: Attribute # node _ type -> Symbol (2.0) -
「:attribute」というシンボルを返します。
「:attribute」というシンボルを返します。 -
REXML
:: Attribute # normalized=(value) (2.0) -
正規化された属性値を設定します。
正規化された属性値を設定します。
通常はライブラリが自動的にこの値を設定するので
ユーザはこれを使う必要はないでしょう。
@param value 正規化された属性値 -
REXML
:: Attribute # prefix -> String (2.0) -
属性の名前空間を返します。
...属性の名前空間を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new( "elns:myelement" )
e.add_attribute( "nsa:a", "aval" )
e.add_attribute( "b", "bval" )
p e.attributes.get_attribute( "a" ).prefix # -> "nsa"
p e.attributes.get_attribute( "b" ).prefix # -> "...