public static String getNSName(Element element) throws MalformedElementException {
        Assert.isNotNull(element);
        String nsPrefix = getNSPrefix(element);
        String nsName = resolve(nsPrefix, element);
        if (nsPrefix != null && nsName == null)
            throw new MalformedElementException(Policy.bind("exception.namespacePrefixNotResolved", nsPrefix)); //$NON-NLS-1$
        return nsName;
    }
public static String getNSName(Element element) throws MalformedElementException {
        Assert.isNotNull(element);
        String nsPrefix = getNSPrefix(element);
        String nsName = resolve(nsPrefix, element);
        if (nsPrefix != null && nsName == null)
            throw new MalformedElementException(Policy.bind("exception.namespacePrefixNotResolved", nsPrefix)); 
        return nsName;
    }
public static String getNSName ( Element element ) throws MalformedElementException { Assert . isNotNull ( element ) ; String nsPrefix = getNSPrefix ( element ) ; String nsName = resolve ( nsPrefix , element ) ; if ( nsPrefix != null && nsName == null ) throw new MalformedElementException ( Policy . bind ( "exception.namespacePrefixNotResolved" , nsPrefix ) ) ; //$NON-NLS-1$ return nsName ; }
Returns the URL of the given element's namespace, or
<code>null</code> if it has no namespace. The element must not be
<code>null</code>.

@param element the element whose namespace is returned
@return        the namespace of the element, or <code>null</code>
@throws        MalformedElementException if the name of the given
element has a namespace prefix which could not be
resolved
Returns the URL of the given element s namespace or <code > null< / code > if it has no namespace . The element must not be <code > null< / code > .