Class XmlUtil.UniversalNamespaceCache

java.lang.Object
com.luna.common.xml.XmlUtil.UniversalNamespaceCache
All Implemented Interfaces:
NamespaceContext
Enclosing class:
XmlUtil

public static class XmlUtil.UniversalNamespaceCache extends Object implements NamespaceContext
全局命名空间上下文
见:https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
  • Constructor Details

    • UniversalNamespaceCache

      public UniversalNamespaceCache(Node node, boolean toplevelOnly)
      This constructor parses the document and stores all namespaces it can find. If toplevelOnly is true, only namespaces in the root are used.
      Parameters:
      node - source Node
      toplevelOnly - restriction of the search to enhance performance
  • Method Details