KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > mapping > ecore2xml > util > Ecore2XMLResource


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: Ecore2XMLResource.java,v 1.2 2005/06/21 16:17:03 khussey Exp $
16  */

17 package org.eclipse.emf.mapping.ecore2xml.util;
18
19 import org.eclipse.emf.ecore.resource.Resource;
20 import org.eclipse.emf.ecore.xmi.XMIResource;
21
22 /**
23  * The interface for Ecore2XML resources.
24  */

25 public interface Ecore2XMLResource extends XMIResource
26 {
27   
28   /**
29    * The interface for Ecore2XML resource factories.
30    */

31   public interface Factory extends Resource.Factory
32   {
33     
34     public static final Factory INSTANCE = new Ecore2XMLResourceFactoryImpl();
35     
36   }
37   
38   public static final String JavaDoc FILE_EXTENSION = "ecore2xml"; //$NON-NLS-1$
39

40   public static final String JavaDoc DEFAULT_ENCODING = "UTF-8"; //$NON-NLS-1$
41

42 }
43
Popular Tags