public List<XmlNamespace> consumeNameSpaces() {
        if (!newNamespaces.isEmpty()) {
            List<XmlNamespace> xmlNamespaces = new ArrayList<>();
            xmlNamespaces.addAll(newNamespaces);
            newNamespaces.clear();
            return xmlNamespaces;
        } else {
            return Collections.emptyList();
        }
    }
the xml file's namespaces.

@author dongliu
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/replugin/ext/parser/parser/XmlNamespaces.java