JavaTM Platform
Standard Ed. 6

インタフェース
org.w3c.dom.Attr の使用

Attr を使用しているパッケージ
javax.imageio.metadata メタデータの読み込みおよび書き込みを処理する Java イメージ入出力 API のパッケージです。 
org.w3c.dom XML データ処理用の Java API のコンポーネント API である DOM (Document Object Model) のインタフェースを提供します。 
 

javax.imageio.metadata での Attr の使用
 

Attr を返す javax.imageio.metadata のメソッド
 Attr IIOMetadataNode.getAttributeNode(String name)
           
 Attr IIOMetadataNode.getAttributeNodeNS(String namespaceURI, String localName)
          getAttributeNode(localName) と同じです。
 Attr IIOMetadataNode.removeAttributeNode(Attr oldAttr)
           
 Attr IIOMetadataNode.setAttributeNode(Attr newAttr)
           
 Attr IIOMetadataNode.setAttributeNodeNS(Attr newAttr)
          setAttributeNode(newAttr) と同じです。
 

Attr 型のパラメータを持つ javax.imageio.metadata のメソッド
 Attr IIOMetadataNode.removeAttributeNode(Attr oldAttr)
           
 Attr IIOMetadataNode.setAttributeNode(Attr newAttr)
           
 Attr IIOMetadataNode.setAttributeNodeNS(Attr newAttr)
          setAttributeNode(newAttr) と同じです。
 void IIOMetadataNode.setIdAttributeNode(Attr idAttr, boolean isId)
           
 

org.w3c.dom での Attr の使用
 

Attr を返す org.w3c.dom のメソッド
 Attr Document.createAttribute(String name)
          所定の名前の Attr を作成します。
 Attr Document.createAttributeNS(String namespaceURI, String qualifiedName)
          所定の修飾名と名前空間 URI を持つ属性を作成します。
 Attr Element.getAttributeNode(String name)
          名前を指定して属性ノードを取得します。
 Attr Element.getAttributeNodeNS(String namespaceURI, String localName)
          ローカル名と名前空間 URI を指定して Attr ノードを取得します。
 Attr Element.removeAttributeNode(Attr oldAttr)
          指定された属性ノードを削除します。
 Attr Element.setAttributeNode(Attr newAttr)
          新しい属性を追加します。
 Attr Element.setAttributeNodeNS(Attr newAttr)
          新しい属性を追加します。
 

Attr 型のパラメータを持つ org.w3c.dom のメソッド
 Attr Element.removeAttributeNode(Attr oldAttr)
          指定された属性ノードを削除します。
 Attr Element.setAttributeNode(Attr newAttr)
          新しい属性を追加します。
 Attr Element.setAttributeNodeNS(Attr newAttr)
          新しい属性を追加します。
 void Element.setIdAttributeNode(Attr idAttr, boolean isId)
          isId パラメータが true の場合、このメソッドは指定された属性がユーザー決定 ID 属性であることを宣言します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。