public class XmiStreamReader extends AbstractXmiReader
Reader
that uses streams for reading and parsing XMI files.XMI_NS, XSI_NS
Constructor and Description |
---|
XmiStreamReader() |
Modifier and Type | Method and Description |
---|---|
Processor |
defaultProcessor()
Creates a series of processors in order to build and analyze the read structure.
|
void |
read(InputStream stream)
Reads a stream and notifies registered
Processor . |
processCharacters, processEndElement, processStartElement
format, processEndDocument, processNamespace, processStartDocument
addHandler, getHandlers, hasHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElement
public Processor defaultProcessor()
Reader
public void read(InputStream stream) throws IOException
Reader
Processor
.stream
- the stream to readIOException
- if an error occurred during the I/O processCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.