|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.xmi.XMIReader
Base class for enhanced XMI readers.
Constructor Summary | |
XMIReader()
|
Method Summary | |
abstract XMIInputConfig |
getConfiguration()
Returns configuration object of this XMIReader. |
abstract Collection |
read(InputStream stream,
String URI,
javax.jmi.reflect.RefPackage extent)
Standard JMI method for reading XMI documents from an InputStream. |
abstract Collection |
read(String URI,
javax.jmi.reflect.RefPackage extent)
Standard JMI method for reading XMI documents without URI specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMIReader()
Method Detail |
public abstract XMIInputConfig getConfiguration()
public abstract Collection read(InputStream stream, String URI, javax.jmi.reflect.RefPackage extent) throws IOException, javax.jmi.xmi.MalformedXMIException
read
in interface javax.jmi.xmi.XmiReader
stream
- Input stream to be used for reading an XMI document (if
null
is passed, XMIReader will try to open a connection to the
spefified URI.URI
- URI of the XMI document to be read from. If set to null
,
XMIReader will not be able to resolve relative hrefs.extent
- Target package extent for deserialized objects.
IOException
- I/O error during reading of XMI document.
javax.jmi.xmi.MalformedXMIException
- XMI document contains invalid XMI.public abstract Collection read(String URI, javax.jmi.reflect.RefPackage extent) throws IOException, javax.jmi.xmi.MalformedXMIException
read
in interface javax.jmi.xmi.XmiReader
URI
- URI of the XMI document to be read. Cannot be null
.extent
- Target package extent for deserialized objects.
IOException
- I/O error during reading of XMI document.
javax.jmi.xmi.MalformedXMIException
- XMI document contains invalid XMI.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |