/** * Checks whether the given url denotes the same namespace as the element's namespace. * * @param namespaceURI the namespace that should be tested. * @return true, if the namespace matches the element's namespace,false otherwise. */ protected boolean isSameNamespace( final String namespaceURI ) { return ObjectUtilities.equal( namespaceURI, getUri() ); }