drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java
public static QualifiedName getQualifiedName(Element element) throws MalformedElementException {
        Assert.isNotNull(element);
        String nsName = getNSName(element);
        String nsLocalName = getNSLocalName(element);
        if (nsLocalName == null)
            throw new MalformedElementException(Policy.bind("exception.noLocalNameForElmt")); //$NON-NLS-1$
        return new QualifiedNameImpl(nsName, nsLocalName);
    }
public static QualifiedName getQualifiedName(Element element) throws MalformedElementException {
        Assert.isNotNull(element);
        String nsName = getNSName(element);
        String nsLocalName = getNSLocalName(element);
        if (nsLocalName == null)
            throw new MalformedElementException(Policy.bind("exception.noLocalNameForElmt")); //$NON-NLS-1$
        return new QualifiedNameImpl(nsName, nsLocalName);
    }
Returns a qualified name that is formed from the given element's
namespace name and namespace local name. The qualified name's
qualifier is the element's namespace name and the qualified name's
local name is the element's local name. The element must not be
<code>null</code>.

@param     element the element whose qualified name is returned
@return            the qualified name that is formed from the given
element's namespace name and namespace local name
@exception MalformedElementException if the name of the element has a
namespace prefix which could not be resolved, or the
element does not have a local name