1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.pde.internal.core.ibundle; 12 13 /** 14 * This factory should be used to create 15 * instances of a manifest.mf header. 16 */ 17 public interface IBundleModelFactory { 18 19 /** 20 * Creates a new manifest header 21 * @return a new manifest header instance 22 */ 23 IManifestHeader createHeader(); 24 25 /** 26 * Creates a new manifest header 27 * 28 * @param key the manifest header key 29 * @param value the manifest header value 30 * 31 * @return a new manifest header instance 32 */ 33 IManifestHeader createHeader(String key, String value); 34 35 36 } 37