org.infolayer.xmi
Class XmiParser
java.lang.Object
org.infolayer.xmi.XmiParser
- public class XmiParser
- extends java.lang.Object
Constructor Summary |
XmiParser(XmlPullParser parser)
|
Method Summary |
UmlModel |
read()
|
void |
readChildren()
|
java.lang.Object |
readObject(java.lang.Object owner,
int ownerIndex)
Reads an object. precondition: on start tag.
|
java.util.Vector |
readVector(java.util.Vector v)
precondition: on "surrounding" start tag; postcondition: on "surrounding" end tag |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmiParser
public XmiParser(XmlPullParser parser)
read
public UmlModel read()
readChildren
public void readChildren()
throws java.io.IOException,
XmlPullParserException
- Throws:
java.io.IOException
XmlPullParserException
readObject
public java.lang.Object readObject(java.lang.Object owner,
int ownerIndex)
throws java.io.IOException,
XmlPullParserException
- Reads an object. precondition: on start tag.
Postcondition: on end tag
- Throws:
java.io.IOException
XmlPullParserException
readVector
public java.util.Vector readVector(java.util.Vector v)
throws java.io.IOException,
XmlPullParserException
- precondition: on "surrounding" start tag; postcondition: on "surrounding" end tag
- Throws:
java.io.IOException
XmlPullParserException