uk.ac.ucl.cs.uml.jmi
Class UMLXMIReader

java.lang.Object
  extended by uk.ac.ucl.cs.uml.jmi.UMLXMIReader
All Implemented Interfaces:
javax.jmi.xmi.XmiReader

public class UMLXMIReader
extends Object
implements javax.jmi.xmi.XmiReader

An XMI reader.


Field Summary
static Logger LOGGER
          Logger object is public because it is used by class proxies to report errors during reading.
 
Constructor Summary
UMLXMIReader()
           
 
Method Summary
 Collection read(InputStream stream, String URI, javax.jmi.reflect.RefPackage extent)
           
 Collection read(String URI, javax.jmi.reflect.RefPackage extent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static Logger LOGGER
Logger object is public because it is used by class proxies to report errors during reading.

Constructor Detail

UMLXMIReader

public UMLXMIReader()
Method Detail

read

public Collection read(String URI,
                       javax.jmi.reflect.RefPackage extent)
                throws IOException,
                       javax.jmi.xmi.MalformedXMIException
Specified by:
read in interface javax.jmi.xmi.XmiReader
Throws:
IOException
javax.jmi.xmi.MalformedXMIException

read

public Collection read(InputStream stream,
                       String URI,
                       javax.jmi.reflect.RefPackage extent)
                throws IOException,
                       javax.jmi.xmi.MalformedXMIException
Specified by:
read in interface javax.jmi.xmi.XmiReader
Throws:
IOException
javax.jmi.xmi.MalformedXMIException