软件包 | 描述 |
---|---|
javax.imageio.metadata |
一包I/O API处理读写的java图像元数据。
|
org.w3c.dom |
提供的文档对象模型(DOM)接口是一组API的
Java API for XML Processing。
|
Modifier and Type | Method and Description |
---|---|
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) 。
|
Modifier and Type | Method and Description |
---|---|
Attr |
IIOMetadataNode.removeAttributeNode(Attr oldAttr) |
Attr |
IIOMetadataNode.setAttributeNode(Attr newAttr) |
Attr |
IIOMetadataNode.setAttributeNodeNS(Attr newAttr)
相当于
setAttributeNode(newAttr) 。
|
void |
IIOMetadataNode.setIdAttributeNode(Attr idAttr, boolean isId)
这3级DOM方法不支持
IIOMetadataNode 和将
DOMException 。
|
Modifier and Type | Method and Description |
---|---|
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)
检索一个
Attr 节点的本地名称和命名空间URI。
|
Attr |
Element.removeAttributeNode(Attr oldAttr)
移除指定的属性节点。
|
Attr |
Element.setAttributeNode(Attr newAttr)
添加一个新的属性节点。
|
Attr |
Element.setAttributeNodeNS(Attr newAttr)
添加一个新属性。
|
Modifier and Type | Method and Description |
---|---|
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属性。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.