public interface DOMImplementationSource
DOMImplementationSource
对象列在可用资源结合的具体名单,
DOMImplementation
对象提供。
Modifier and Type | Method and Description |
---|---|
DOMImplementation |
getDOMImplementation(String features)
一个要求首先DOM实现,支持指定特征的方法。
|
DOMImplementationList |
getDOMImplementationList(String features)
一个请求的是一个DOM支持指定的功能和版本中规定的方法。
|
DOMImplementation getDOMImplementation(String features)
features
-一个字符串指定的版本是必需的。这是一个空格分隔的列表,其中每一个特征都是由它的名字指定的,可选的空间和版本号。此方法返回列表中的第一个项目由
getDOMImplementationList
。例如,字符串
"XML 3.0 Traversal +Events 2.0"
会要求一个支持模块“XML”为其3版本的DOM实现的模块的“任何版本遍历模块和模块的支持,“2版”事件。模块中的“事件”必须使用的方法和
DOMImplementation.getFeature()
Node.getFeature()
。
null
如果源没有。
DOMImplementationList getDOMImplementationList(String features)
features
-一个字符串指定的版本是必需的。这是一个空格分隔的列表,其中每一个特征都是由它的名字指定的,可选的空间和版本号。这是一个类似的东西:“XML 3遍历+事件2”
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.