软件包 | 描述 |
---|---|
javax.imageio.metadata |
一包I/O API处理读写的java图像元数据。
|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
javax.xml.bind.helpers |
只有使用JAXB提供商:一些的
javax.xml.bind接口提供了部分的默认实现。
|
javax.xml.crypto.dom |
为
javax.xml.crypto DOM类具体包。
|
javax.xml.crypto.dsig.dom |
为
javax.xml.crypto.dsig DOM类具体包。
|
javax.xml.soap |
提供用于创建和生成消息的接口。
|
javax.xml.transform.dom |
这个包实现了DOM API的具体转化。
|
org.w3c.dom |
提供的文档对象模型(DOM)接口是一组API的
Java API for XML Processing。
|
org.w3c.dom.events | |
org.w3c.dom.ls |
Modifier and Type | Class and Description |
---|---|
class |
IIOMetadataNode
|
Modifier and Type | Field and Description |
---|---|
protected Node |
IIOInvalidTreeException.offendingNode
的
Node 导致解析错误,或
null 。
|
Modifier and Type | Method and Description |
---|---|
Node |
IIOMetadataNode.appendChild(Node newChild)
将节点添加
newChild 对这个子节点列表的末尾。
|
Node |
IIOMetadataNode.cloneNode(boolean deep)
返回此节点的副本。
|
abstract Node |
IIOMetadata.getAsTree(String formatName)
返回一个XML DOM对象树
Node 表示元数据的根包含在这个对象根据一个给定的元数据格式定义的公约。
|
Node |
IIOMetadataNode.getFirstChild()
返回该节点的第一个孩子,或
null 如果节点没有孩子。
|
Node |
IIOMetadataNode.getLastChild()
返回此节点的最后一个子节点,或
null 如果节点没有孩子。
|
Node |
IIOMetadataNode.getNextSibling()
返回该节点的下一个兄弟,或
null 如果没有下一个同级节点。
|
Node |
IIOInvalidTreeException.getOffendingNode()
返回导致解析错误的
Node 。
|
Node |
IIOMetadataNode.getParentNode()
返回此节点的父节点。
|
Node |
IIOMetadataNode.getPreviousSibling()
返回此节点上的兄弟姐妹,或
null 如果这个节点没有兄弟。
|
Node |
IIOMetadataNode.insertBefore(Node newChild, Node refChild)
插入节点
newChild 之前已有的子节点
refChild 。
|
Node |
IIOMetadataNode.item(int index) |
Node |
IIOMetadataNode.removeChild(Node oldChild)
删除子节点表示的
oldChild 从孩子的名单,并返回它。
|
Node |
IIOMetadataNode.replaceChild(Node newChild, Node oldChild)
在名单上的孩子
newChild 代替子节点
oldChild ,并返回
oldChild 节点。
|
Modifier and Type | Method and Description |
---|---|
Node |
IIOMetadataNode.appendChild(Node newChild)
将节点添加
newChild 对这个子节点列表的末尾。
|
short |
IIOMetadataNode.compareDocumentPosition(Node other)
这3级DOM方法不支持
IIOMetadataNode 和将
DOMException 。
|
Node |
IIOMetadataNode.insertBefore(Node newChild, Node refChild)
插入节点
newChild 之前已有的子节点
refChild 。
|
boolean |
IIOMetadataNode.isEqualNode(Node node)
这3级DOM方法不支持
IIOMetadataNode 和将
DOMException 。
|
boolean |
IIOMetadataNode.isSameNode(Node node)
这3级DOM方法不支持
IIOMetadataNode 和将
DOMException 。
|
abstract void |
IIOMetadata.mergeTree(String formatName, Node root)
改变这
IIOMetadata 对象的内部状态从树的XML DOM
Node s其语法是由给定的元数据格式定义。
|
Node |
IIOMetadataNode.removeChild(Node oldChild)
删除子节点表示的
oldChild 从孩子的名单,并返回它。
|
Node |
IIOMetadataNode.replaceChild(Node newChild, Node oldChild)
在名单上的孩子
newChild 代替子节点
oldChild ,并返回
oldChild 节点。
|
void |
IIOMetadata.setFromTree(String formatName, Node root)
设置此
IIOMetadata 对象的内部状态从树的XML DOM
Node s其语法是由给定的元数据格式定义。
|
Constructor and Description |
---|
IIOInvalidTreeException(String message, Node offendingNode)
构建一个消息字符串和一个参考造成解析错误的
Node 一
IIOInvalidTreeException 。
|
IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
构建一个消息字符串的引用
IIOInvalidTreeException ,引发此异常例外,并引用造成分析错误的
Node 。
|
Modifier and Type | Method and Description |
---|---|
Node |
ValidationEventLocator.getNode()
返回一个引用到DOM节点是否可用
|
Node |
Marshaller.getNode(Object contentTree)
得到的内容树DOM树视图(可选)。
|
Modifier and Type | Method and Description |
---|---|
Binder<Node> |
JAXBContext.createBinder()
创建一个W3C DOM
Binder。
|
Modifier and Type | Method and Description |
---|---|
void |
Marshaller.marshal(Object jaxbElement, Node node)
元帅的内容树
jaxbElement成DOM树。
|
Object |
Unmarshaller.unmarshal(Node node)
全球数据的XML数据从指定的DOM树和返回结果的内容树。
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(Node node, 类<T> declaredType)
数据的XML数据通过JAXB映射
declaredType和返回结果的内容树。
|
Modifier and Type | Method and Description |
---|---|
Node |
ValidationEventLocatorImpl.getNode() |
Node |
AbstractMarshallerImpl.getNode(Object obj)
默认情况下,是不支持的getnode方法抛出一个
UnsupportedOperationException 。
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarshallerImpl.marshal(Object obj, Node node) |
void |
ValidationEventLocatorImpl.setNode(Node _node)
在此事件定位器上设置节点字段。
|
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(Node node, 类<T> expectedType) |
Constructor and Description |
---|
ValidationEventLocatorImpl(Node _node)
构造一个对象指向一个DOM节点。
|
Modifier and Type | Method and Description |
---|---|
Node |
DOMURIReference.getHere()
返回这里节点。
|
Node |
DOMStructure.getNode()
返回包含在这
DOMStructure 节点。
|
Constructor and Description |
---|
DOMStructure(Node node)
创建一个
DOMStructure 包含指定的节点。
|
Modifier and Type | Method and Description |
---|---|
Node |
DOMSignContext.getNextSibling()
返回的兄弟节点。
|
Node |
DOMValidateContext.getNode()
返回节点。
|
Node |
DOMSignContext.getParent()
返回父节点。
|
Modifier and Type | Method and Description |
---|---|
void |
DOMSignContext.setNextSibling(Node nextSibling)
设置下一个同级节点。
|
void |
DOMValidateContext.setNode(Node node)
设置节点。
|
void |
DOMSignContext.setParent(Node parent)
设置父节点。
|
Constructor and Description |
---|
DOMSignContext(Key signingKey, Node parent)
创建一个具有指定的签名密钥和父节点
DOMSignContext 。
|
DOMSignContext(Key signingKey, Node parent, Node nextSibling)
创建一个具有指定签名密钥
DOMSignContext ,父母和下一个同级节点。
|
DOMSignContext(KeySelector ks, Node parent)
创建一个具有指定键选择器和父节点
DOMSignContext 。
|
DOMSignContext(KeySelector ks, Node parent, Node nextSibling)
创建一个具有指定键选择器
DOMSignContext ,父母和下一个同级节点。
|
DOMValidateContext(Key validatingKey, Node node)
创建一个
DOMValidateContext 包含指定的关键节点。
|
DOMValidateContext(KeySelector ks, Node node)
创建一个
DOMValidateContext 包含指定键选择器和节点。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Detail
一个
DetailEntry 对象的容器。
|
interface |
DetailEntry
一
Detail 对象的内容,一
SOAPFault 对象给出细节。
|
interface |
Node
在XML文档中的节点(元素)的表示形式。
|
interface |
SOAPBody
表示在一个肥皂消息中的皂体元素的内容的对象。
|
interface |
SOAPBodyElement
一个
SOAPBodyElement 对象代表一个
SOAPBody 对象的内容。
|
interface |
SOAPElement
表示允许但不由肥皂规范指定的元素的一个对象的对象。
|
interface |
SOAPEnvelope
为soapheader和一
SOAPPart 配糖体部分的容器对象。
|
interface |
SOAPFault
在包含错误和/或状态信息的
SOAPBody 对象元素。
|
interface |
SOAPFaultElement
在
SOAPFault 对象表示的内容。
|
interface |
SOAPHeader
一个肥皂头元素的表示。
|
interface |
SOAPHeaderElement
表示肥皂信封的肥皂头部分的内容的一个对象。
|
Modifier and Type | Class and Description |
---|---|
class |
SOAPPart
对一个对象的特定部分
SOAPMessage 肥皂容器。
|
Modifier and Type | Method and Description |
---|---|
Node |
DOMResult.getNextSibling()
获取将要插入的结果节点的子节点。
|
Node |
DOMSource.getNode()
获取表示源DOM树的节点。
|
Node |
DOMResult.getNode()
获得节点将包含结果的DOM树。
|
Node |
DOMLocator.getOriginatingNode()
返回事件发生的节点。
|
Modifier and Type | Method and Description |
---|---|
void |
DOMResult.setNextSibling(Node nextSibling)
设置结果节点将被插入的子节点之前。
|
void |
DOMSource.setNode(Node node)
设置节点,将代表一个来源的DOM树。
|
void |
DOMResult.setNode(Node node)
设置节点将包含结果的DOM树。
|
Constructor and Description |
---|
DOMResult(Node node)
使用DOM节点创建一个新的输出目标。
|
DOMResult(Node node, Node nextSibling)
使用DOM节点创建一个新的输出目标指定子节点的节点之前插入结果应。
|
DOMResult(Node node, Node nextSibling, String systemId)
使用DOM节点创建一个新的输出目标指定子节点的节点之前插入结果应该和指定的系统ID。
|
DOMResult(Node node, String systemId)
使用DOM节点创建具有指定的系统ID。一个新的输出目标
|
DOMSource(Node n)
一个DOM节点创建一个新的输入源。
|
DOMSource(Node node, String systemID)
一个DOM节点创建一个新的输入源,并与系统ID也通过为基准URI。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Attr
的
Attr 接口表示在一个
Element 对象属性。
|
interface |
CDATASection
CDATA节用来逃避文本包含字符,否则将被视为标记。
|
interface |
CharacterData
CharacterData 接口扩展的一组在DOM访问字符数据的方法和属性节点。
|
interface |
Comment
这个接口继承
CharacterData 代表评论,即内容,所有的开始和结束的
<!--
--> 之间的人物。
|
interface |
Document
的
Document 接口代表整个HTML或XML文档。
|
interface |
DocumentFragment
DocumentFragment 是“轻量级”或“最小”
Document 对象。
|
interface |
DocumentType
每个
Document 有
doctype 属性的值是
null 或
DocumentType 对象。
|
interface |
Element
的
Element 接口表示一个元素在HTML或XML文档。
|
interface |
Entity
这个接口是一个已知的实体,任何分析或解析,XML文档中。
|
interface |
EntityReference
EntityReference 节点可以用来代表树参考实体。
|
interface |
Notation
该接口表示符号在DTD中声明。
|
interface |
ProcessingInstruction
的
ProcessingInstruction 接口代表“指令”,使用XML作为一种处理器特定的信息保存在文档的文本。
|
interface |
Text
|
Modifier and Type | Method and Description |
---|---|
Node |
Document.adoptNode(Node source)
试图从另一个文档到该文档的节点。
|
Node |
Node.appendChild(Node newChild)
将节点添加
newChild 对这个子节点列表的末尾。
|
Node |
Node.cloneNode(boolean deep)
返回这个节点的副本,即,作为节点的一个通用的复制构造函数。
|
Node |
Node.getFirstChild()
这个节点的第一个孩子。
|
Node |
Node.getLastChild()
这个节点的最后一个孩子。
|
Node |
NamedNodeMap.getNamedItem(String name)
检索由名称指定的节点。
|
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI, String localName)
检索指定一个节点的本地名称和命名空间URI。
|
Node |
Node.getNextSibling()
此节点后立即节点。
|
Node |
Node.getParentNode()
这个节点的父。
|
Node |
Node.getPreviousSibling()
在此节点前面的节点。
|
Node |
DOMLocator.getRelatedNode()
这个定位是指向的节点,或
null 如果没有节点可。
|
Node |
Document.importNode(Node importedNode, boolean deep)
从另一个文档导入到该文档的节点,而不改变或从原始文档中删除源节点;该方法创建了源节点的新副本。
|
Node |
Node.insertBefore(Node newChild, Node refChild)
插入节点
newChild 之前已有的子节点
refChild 。
|
Node |
NamedNodeMap.item(int index)
返回
index th项目Map。
|
Node |
NodeList.item(int index)
返回
index th项集合中的。
|
Node |
Node.removeChild(Node oldChild)
删除子节点表示的
oldChild 从孩子的名单,并返回它。
|
Node |
NamedNodeMap.removeNamedItem(String name)
移除指定名称的节点。
|
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI, String localName)
删除一个节点指定的本地名称和命名空间URI。
|
Node |
Document.renameNode(Node n, String namespaceURI, String qualifiedName)
重命名类型
ELEMENT_NODE 或
ATTRIBUTE_NODE 现有节点。
|
Node |
Node.replaceChild(Node newChild, Node oldChild)
在名单上的孩子
newChild 代替子节点
oldChild ,并返回
oldChild 节点。
|
Node |
NamedNodeMap.setNamedItem(Node arg)
添加一个节点使用其
nodeName 属性。
|
Node |
NamedNodeMap.setNamedItemNS(Node arg)
添加一个节点使用其
namespaceURI 和
localName 。
|
Modifier and Type | Method and Description |
---|---|
Node |
Document.adoptNode(Node source)
试图从另一个文档到该文档的节点。
|
Node |
Node.appendChild(Node newChild)
将节点添加
newChild 对这个子节点列表的末尾。
|
short |
Node.compareDocumentPosition(Node other)
比较参考节点,即
|
void |
UserDataHandler.handle(short operation, String key, Object data, Node src, Node dst)
这种方法被调用时,这个处理程序注册的节点是导入或克隆的。
|
Node |
Document.importNode(Node importedNode, boolean deep)
从另一个文档导入到该文档的节点,而不改变或从原始文档中删除源节点;该方法创建了源节点的新副本。
|
Node |
Node.insertBefore(Node newChild, Node refChild)
插入节点
newChild 之前已有的子节点
refChild 。
|
boolean |
Node.isEqualNode(Node arg)
测试两个节点是否相等。
|
boolean |
Node.isSameNode(Node other)
返回此节点是否与给定的节点相同的节点。
|
Node |
Node.removeChild(Node oldChild)
删除子节点表示的
oldChild 从孩子的名单,并返回它。
|
Node |
Document.renameNode(Node n, String namespaceURI, String qualifiedName)
重命名类型
ELEMENT_NODE 或
ATTRIBUTE_NODE 现有节点。
|
Node |
Node.replaceChild(Node newChild, Node oldChild)
在名单上的孩子
newChild 代替子节点
oldChild ,并返回
oldChild 节点。
|
Node |
NamedNodeMap.setNamedItem(Node arg)
添加一个节点使用其
nodeName 属性。
|
Node |
NamedNodeMap.setNamedItemNS(Node arg)
添加一个节点使用其
namespaceURI 和
localName 。
|
Modifier and Type | Method and Description |
---|---|
Node |
MutationEvent.getRelatedNode()
relatedNode 是用来识别一个突变事件相关的次要节点。
|
Modifier and Type | Method and Description |
---|---|
void |
MutationEvent.initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
的
initMutationEvent 方法是用来初始化一个
MutationEvent 通过
DocumentEvent 界面创造价值。
|
Modifier and Type | Method and Description |
---|---|
Node |
LSParser.parseWithContext(LSInput input, Node contextArg, short action)
解析从资源的
LSInput 确定一个XML片段,插入到现有的文档内容在指定位置与
context 和
action 参数。
|
Modifier and Type | Method and Description |
---|---|
short |
LSParserFilter.acceptNode(Node nodeArg)
此方法将被解析器调用完成,完成每个节点的解析。
|
Node |
LSParser.parseWithContext(LSInput input, Node contextArg, short action)
解析从资源的
LSInput 确定一个XML片段,插入到现有的文档内容在指定位置与
context 和
action 参数。
|
boolean |
LSSerializer.write(Node nodeArg, LSOutput destination)
将指定的节点如上面所描述的对
LSSerializer 接口的一般描述。
|
String |
LSSerializer.writeToString(Node nodeArg)
将指定的节点如上面所描述的对
LSSerializer 接口的一般描述。
|
boolean |
LSSerializer.writeToURI(Node nodeArg, String uri)
一个方便的方法,好像
LSSerializer.write 被称为一个没有编码指定
LSOutput.systemId 设置为
uri 争论
LSOutput 。
|
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.