Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2a7f6e2e9923502dd4c92aaf347846022620097e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*******************************************************************************
 * Copyright (c) 2007 Oracle Corporation.
 * 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:
 *    Oracle - initial API and implementation
 *    
 ********************************************************************************/
package org.eclipse.jst.jsf.common.metadata.internal;

/**
 * Translate from the source model metadata structure into a standard metadata domain of metadata.
 *
 */
public interface IMetaDataTranslator {
	/**
	 * @param assistant perform translation using the IMetaDataModelMergeAssistant
	 */
	public void translate(IMetaDataModelMergeAssistant assistant);
	/**
	 * @param modelProvider - cannot be null
	 * @return true if this translator can translate this model source
	 */
	public boolean canTranslate(IMetaDataSourceModelProvider modelProvider);
}

Back to the top