451件ヒット
[1-100件を表示]
(0.082秒)
ライブラリ
- ビルトイン (14)
- ipaddr (28)
-
minitest
/ spec (1) - mkmf (24)
- psych (12)
-
rexml
/ document (240) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (24) -
rubygems
/ package / tar _ header (12) - socket (36)
クラス
- BasicSocket (36)
-
Gem
:: Package :: TarHeader (12) - IPAddr (28)
- Module (1)
-
Psych
:: Handler (12) -
REXML
:: Attribute (24) -
REXML
:: Attributes (36) -
REXML
:: Element (96) -
REXML
:: Parsers :: SAX2Parser (60) - String (8)
- Symbol (6)
モジュール
- Kernel (24)
-
REXML
:: Namespace (84) -
REXML
:: SAX2Listener (24)
キーワード
-
add
_ namespace (24) - attribute (12)
-
create
_ makefile (12) -
delete
_ namespace (12) -
end
_ prefix _ mapping (12) -
get
_ attribute _ ns (12) - getsockopt (12)
-
has
_ name? (12) -
infect
_ with _ assertions (1) -
install
_ files (12) - listen (60)
-
local
_ name (12) - mask (12)
- name (12)
- name= (12)
- namespace (24)
- namespaces (24)
- prefix= (20)
- prefixes (24)
- setsockopt (24)
-
start
_ document (12) -
start
_ prefix _ mapping (12) -
start
_ with? (14) - whitespace (12)
検索結果
先頭5件
-
REXML
:: Attribute # prefix -> String (21144.0) -
属性の名前空間を返します。
...ML::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 # -> "elns"
a = REXML::Attribute.new( "x", "y" )
p a.prefix # -... -
REXML
:: Namespace # prefix -> String (21124.0) -
prefix (前置修飾子) を返します。
...prefix (前置修飾子) を返します。
@see REXML::Namespace#prefix=... -
Gem
:: Package :: TarHeader # prefix -> String (21118.0) -
tar のヘッダに含まれる prefix を返します。
...tar のヘッダに含まれる prefix を返します。... -
IPAddr
# prefix -> Integer (21102.0) -
プリフィックス長をビット数で返します。
プリフィックス長をビット数で返します。 -
REXML
:: SAX2Listener # start _ prefix _ mapping(prefix , uri) -> () (12379.0) -
名前空間の接頭辞(prefix)が導入されたときに呼び出される コールバックメソッドです。
...頭辞(prefix)が導入されたときに呼び出される
コールバックメソッドです。
以下のようなXMLを処理
<a xmlns:foo="http://foo.example.org/">
<foo:b />
</a>
すると
start_prefix_mapping("foo", "http://foo.example.org/")
start_element(nil, "a", "a", {"xmlns......foo.example.org/"})
:
end_element(nil, "a", "a")
end_prefix_mapping("foo")
の順で呼びだされます。つまり名前空間を導入した要素の start_element の前に
start_prefix_mapping が呼びだされます。
@param prefix 接頭辞の文字列が渡されます
@param uri... -
REXML
:: SAX2Listener # end _ prefix _ mapping(prefix) -> () (12325.0) -
名前空間の接頭辞(prefix)の適用範囲が終了したときに 呼び出されるコールバックメソッドです。
...名前空間の接頭辞(prefix)の適用範囲が終了したときに
呼び出されるコールバックメソッドです。
@param prefix 接頭辞の文字列が渡されます... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9255.0) -
namespace と name で特定される属性を返します。
...namespace と name で特定される属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合......@param namespace 名前空間(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 =......nts("/root/a").first
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") # =>... -
REXML
:: Namespace # prefix=(value) (9230.0) -
prefix (前置修飾子) を設定します。
...prefix (前置修飾子) を設定します。
@param value prefix文字列
@see REXML::Namespace#prefix... -
REXML
:: Namespace # name=(name) (9207.0) -
名前を設定します。
...名前を設定します。
prefix を持つ名前も持たない名前も受け付けます。
@param name 名前(文字列)...