インタフェースorg.w3c.dom.Attr
の使用
Attrを使用するパッケージ
パッケージ
説明
メタデータの読み込みおよび書込みを処理するJavaイメージ入出力APIのパッケージです。
Document Object Model (DOM)のインタフェースを提供します。
-
javax.imageio.metadataでのAttrの使用
Attrを返すjavax.imageio.metadata内のメソッド修飾子と型メソッド説明IIOMetadataNode.getAttributeNode(String name)IIOMetadataNode.getAttributeNodeNS(String namespaceURI, String localName)getAttributeNode(localName)と同等です。IIOMetadataNode.removeAttributeNode(Attr oldAttr)IIOMetadataNode.setAttributeNode(Attr newAttr)IIOMetadataNode.setAttributeNodeNS(Attr newAttr)setAttributeNode(newAttr)と同等です。Attr型のパラメータを持つjavax.imageio.metadata内のメソッド修飾子と型メソッド説明IIOMetadataNode.removeAttributeNode(Attr oldAttr)IIOMetadataNode.setAttributeNode(Attr newAttr)IIOMetadataNode.setAttributeNodeNS(Attr newAttr)setAttributeNode(newAttr)と同等です。voidIIOMetadataNode.setIdAttributeNode(Attr idAttr, boolean isId)このDOM Level 3メソッドはIIOMetadataNodeではサポートされていないため、DOMExceptionがスローされます。 -
org.w3c.domでのAttrの使用
Attrを返すorg.w3c.dom内のメソッド修飾子と型メソッド説明Document.createAttribute(String name)所定の名前のAttrを作成します。Document.createAttributeNS(String namespaceURI, String qualifiedName)所定の修飾名と名前空間URIを持つ属性を作成します。Element.getAttributeNode(String name)名前を指定して属性ノードを取得します。Element.getAttributeNodeNS(String namespaceURI, String localName)ローカル名と名前空間URIを指定してAttrノードを取得します。Element.removeAttributeNode(Attr oldAttr)指定された属性ノードを削除します。Element.setAttributeNode(Attr newAttr)新しい属性ノードを追加します。Element.setAttributeNodeNS(Attr newAttr)新しい属性を追加します。Attr型のパラメータを持つorg.w3c.dom内のメソッド修飾子と型メソッド説明Element.removeAttributeNode(Attr oldAttr)指定された属性ノードを削除します。Element.setAttributeNode(Attr newAttr)新しい属性ノードを追加します。Element.setAttributeNodeNS(Attr newAttr)新しい属性を追加します。voidElement.setIdAttributeNode(Attr idAttr, boolean isId)isIdパラメータがtrueの場合、このメソッドは指定された属性がユーザー決定ID属性であることを宣言します。