|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ru.novosoft.uml.xmi.XMIReader | +--org.argouml.xml.xmi.XMIReader
Parses an XMI file. Extended from the NSUML XMIReader since this reader does not handle errorhandling very well and is not very well programmed at all. This led to issues loading xmi files and hanging ArgoUML by doing that.
ru.novosoft.uml.xmi.XMIReader
,
Serialized FormConstructor Summary | |
XMIReader()
Constructor for XMIReader. |
|
XMIReader(MFactory p_factory)
Constructor for XMIReader. |
Method Summary | |
boolean |
getErrors()
|
org.xml.sax.Parser |
getParser()
|
protected void |
parseSourceStream(org.xml.sax.InputSource p_is)
Parses an xmi inputsource. |
MModel |
parseToModel(org.xml.sax.InputSource p_is)
Parses a given inputsource to a model. |
void |
setErrors(boolean errors)
|
void |
setParser(org.xml.sax.Parser parser)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMIReader() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public XMIReader(MFactory p_factory) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
p_factory
-
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Method Detail |
protected void parseSourceStream(org.xml.sax.InputSource p_is) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
ru.novosoft.uml.xmi.XMIReader#parseStream(InputSource)
public MModel parseToModel(org.xml.sax.InputSource p_is) throws org.xml.sax.SAXException, java.io.IOException
p_is
-
org.xml.sax.SAXException
java.io.IOException
public void setErrors(boolean errors)
public boolean getErrors()
public void setParser(org.xml.sax.Parser parser)
public org.xml.sax.Parser getParser()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030919) | ArgoUML Project Home | ArgoUML Cookbook |