public static class XmlUtil.UniversalNamespaceCache extends Object implements NamespaceContext
| 构造器和说明 |
|---|
UniversalNamespaceCache(Node node,
boolean toplevelOnly)
This constructor parses the document and stores all namespaces it can
find.
|
public UniversalNamespaceCache(Node node, boolean toplevelOnly)
node - source NodetoplevelOnly - restriction of the search to enhance performancepublic String getNamespaceURI(String prefix)
getNamespaceURI 在接口中 NamespaceContextprefix - to search forpublic String getPrefix(String namespaceURI)
getPrefix 在接口中 NamespaceContextpublic Iterator<String> getPrefixes(String namespaceURI)
getPrefixes 在接口中 NamespaceContextCopyright © 2022. All rights reserved.