blob: e78fcc0346a5b2c3f733447b2aa8cc28a4015cb2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.ws.internal.registry;
import org.eclipse.wst.ws.internal.model.v10.registry.Registry;
import org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy;
/**
* An <code>ITaxonomyFinder</code> computes the set of
* <code>Taxonomy</code> models referenced or used by a
* <code>Registry</code>.
* @author gilberta@ca.ibm.com
* @see IRegistryManager
*/
public interface ITaxonomyFinder
{
/**
* Returns an array taxonomies used by the given
* <code>registry</code>. This method never returns null.
*
* @param registry The <code>Registry</code> for which
* a set of taxonomies might be found.
* @return The array of taxonomies, possibly empty.
*/
public Taxonomy[] taxonomies ( Registry registry );
}