KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > xmi > XMLLoad


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 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: XMLLoad.java,v 1.4 2005/06/15 21:16:49 elena Exp $
16  */

17 package org.eclipse.emf.ecore.xmi;
18
19 import java.io.IOException JavaDoc;
20 import java.io.InputStream JavaDoc;
21 import java.util.Map JavaDoc;
22
23 import org.w3c.dom.Node JavaDoc;
24
25 /**
26  * This defines the methods for the interface that XMLResourceImpl
27  * uses to load the resource.
28  */

29 public interface XMLLoad
30 {
31   void load(XMLResource resource, InputStream JavaDoc inputStream, Map JavaDoc options) throws IOException JavaDoc;
32   void load(XMLResource resource, Node JavaDoc node, Map JavaDoc options) throws IOException JavaDoc;
33 }
34
Popular Tags