common_helper/src/main/java/com/xiongyingqi/util/xml/SimpleNamespaceContext.java
public void removeBinding(String prefix) {
        if (XMLConstants.DEFAULT_NS_PREFIX.equals(prefix)) {
            defaultNamespaceUri = "";
        } else {
            String namespaceUri = prefixToNamespaceUri.remove(prefix);
            List<String> prefixes = getPrefixesInternal(namespaceUri);
            prefixes.remove(prefix);
        }
    }
public void removeBinding(String prefix) {
        if (XMLConstants.DEFAULT_NS_PREFIX.equals(prefix)) {
            defaultNamespaceUri = "";
        } else {
            String namespaceUri = prefixToNamespaceUri.remove(prefix);
            List<String> prefixes = getPrefixesInternal(namespaceUri);
            prefixes.remove(prefix);
        }
    }
public void removeBinding ( String prefix ) { if ( XMLConstants . DEFAULT_NS_PREFIX . equals ( prefix ) ) { defaultNamespaceUri = "" ; } else { String namespaceUri = prefixToNamespaceUri . remove ( prefix ) ; List < String > prefixes = getPrefixesInternal ( namespaceUri ) ; prefixes . remove ( prefix ) ; } }
Removes the given prefix from this context.

@param prefix the prefix to be removed
Removes the given prefix from this context .