HI at all,
i am a new member in this forum.I am searching a XMI parser in java code that read an xmi file and print classes with related attributes.
Someone can help me please???
Thank u at all!
Salvo
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
HI at all,
i am a new member in this forum.I am searching a XMI parser in java code that read an xmi file and print classes with related attributes.
Someone can help me please???
Thank u at all!
Salvo
I am also new. My quick search on Google gave me several hits that answer your question. Maybe you should try that first?
can u give me this hits pleas??
Thank u very much!!!
1.
Open your internet browser
2.
Go to Google.com
3.
Enter java xmi parser, press enter.
4.
Select the url that gives you the info you need.
Please show some effort yourself. With a little effort, you can find the answers you are after.
I've searched on google and have not found what I'm looking for. If you want to help give me the correct answers, if you want to be nice to go to a forum of jokes.Quindi can pass me the link you found? Thanks
Last edited by salvogsm80; April 4th, 2014 at 06:56 AM.
I'm not familiar with XMI. However, I found two links which might be helpful:
http://profilechecker.googlecode.com...XMIParser.java
http://www.javaprogrammingforums.com...rser-java.html
Can you provide an example of the XMI file? Maybe if I have a better idea of how it looks and means, I will think of a way of parsing it.
NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:
When asking for help, please follow these guidelines to receive better and more prompt help:
1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
2. Give full details of errors and provide us with as much information about the situation as possible.
3. Give us an example of what the output should look like when done correctly.
Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/
Thank u aussiemcgr ,i have just seen the example that u have show me.This is an example of xmi :
Thank u so much,what about u idea?<?xml version = "1.0" encoding = "UTF-8"?> <XMI xmi.version = "1.1" xmlns:UML="href://org.omg/UML/1.3" timestamp = "Mon Mar 31 18:59:20 2014"> <XMI.header> <XMI.documentation> <XMI.owner></XMI.owner> <XMI.contact></XMI.contact> <XMI.exporter>StarUML.XMI-Addin</XMI.exporter> <XMI.exporterVersion>1.0</XMI.exporterVersion> <XMI.notice></XMI.notice> </XMI.documentation> <XMI.metamodel xmi.name = "UML" xmi.version = "1.3"/> </XMI.header> <XMI.content> <UML:Model xmi.id="UMLProject.1"> <UML:Namespace.ownedElement> <UML:Model xmi.id="UMLModel.2" name="Use Case Model" visibility="public" isSpecification="false" namespace="UMLProject.1" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Namespace.ownedElement> <UML:Stereotype xmi.id="X.124" name="useCaseModel" extendedElement="UMLModel.2"/> </UML:Namespace.ownedElement> </UML:Model> <UML:Model xmi.id="UMLModel.3" name="Analysis Model" visibility="public" isSpecification="false" namespace="UMLProject.1" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Namespace.ownedElement> <UML:Stereotype xmi.id="X.125" name="analysisModel" extendedElement="UMLModel.3"/> </UML:Namespace.ownedElement> </UML:Model> <UML:Model xmi.id="UMLModel.4" name="Design Model" visibility="public" isSpecification="false" namespace="UMLProject.1" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Namespace.ownedElement> <UML:Class xmi.id="UMLClass.5" name="CurrentStateAndView" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.6" name="State" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="X.128" owner="UMLClass.5"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.7" name="First Table" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.16 UMLAssociationEnd.19 UMLAssociationEnd.20 UMLAssociationEnd.22" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.8" name="Function" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.7"/> <UML:Attribute xmi.id="UMLAttribute.9" name="Complexit" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.7"/> <UML:Attribute xmi.id="UMLAttribute.10" name="DT" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.7"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.11" name="Project" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.17 UMLAssociationEnd.23 UMLAssociationEnd.57 UMLAssociationEnd.60 UMLAssociationEnd.69 UMLAssociationEnd.72 UMLAssociationEnd.75" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.12" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.11"/> <UML:Attribute xmi.id="UMLAttribute.13" name="Author" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.11"/> <UML:Attribute xmi.id="UMLAttribute.14" name="Year" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.11"/> </UML:Classifier.feature> </UML:Class> <UML:Association xmi.id="UMLAssociation.15" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.16" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.15" type="UMLClass.7"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.17" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.15" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.18" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.19" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.18" type="UMLClass.7"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.20" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.18" type="UMLClass.7"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.21" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.22" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.21" type="UMLClass.7"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.23" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.21" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Class xmi.id="UMLClass.24" name="COSMIC_BFC_Table" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.56" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.25" name="MovementType" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.24"> <UML:StructuralFeature.multiplicity> <UML:Multiplicity xmi.id="X.135"> <UML:Multiplicity.range> <UML:MultiplicityRange xmi.id="X.136" lower="4" upper="4" multiplicity="X.135"/> </UML:Multiplicity.range> </UML:Multiplicity> </UML:StructuralFeature.multiplicity> </UML:Attribute> <UML:Attribute xmi.id="UMLAttribute.26" name="MovementNumber" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.24"> <UML:StructuralFeature.multiplicity> <UML:Multiplicity xmi.id="X.138"> <UML:Multiplicity.range> <UML:MultiplicityRange xmi.id="X.139" lower="4" upper="4" multiplicity="X.138"/> </UML:Multiplicity.range> </UML:Multiplicity> </UML:StructuralFeature.multiplicity> </UML:Attribute> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.27" name="FunctionalProcess" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.59 UMLAssociationEnd.66" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.28" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.27"/> <UML:Attribute xmi.id="UMLAttribute.29" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.27"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.30" name="DataMovement" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.62 UMLAssociationEnd.63 UMLAssociationEnd.65 UMLAssociationEnd.89" isActive="false"/> <UML:Class xmi.id="UMLClass.31" name="DataGroup" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.68 UMLAssociationEnd.90 UMLAssociationEnd.93" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.32" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.31"/> <UML:Attribute xmi.id="UMLAttribute.33" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.31"/> <UML:Attribute xmi.id="UMLAttribute.34" name="Transient" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="X.146" owner="UMLClass.31"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.35" name="DataAttribute" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.92" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.36" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.35"/> <UML:Attribute xmi.id="UMLAttribute.37" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.35"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.38" name="TransactionFunction" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.74 UMLAssociationEnd.78 UMLAssociationEnd.81" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.39" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.38"/> <UML:Attribute xmi.id="UMLAttribute.40" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.38"/> <UML:Attribute xmi.id="UMLAttribute.41" name="TransactionFunctionType" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.38"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.42" name="LogicDataFile" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.71 UMLAssociationEnd.84 UMLAssociationEnd.96" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.43" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.42"/> <UML:Attribute xmi.id="UMLAttribute.44" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.42"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.45" name="FTR" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.80 UMLAssociationEnd.95" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.46" name="Uploaded" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="X.146" owner="UMLClass.45"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.47" name="RET" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.83 UMLAssociationEnd.87" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.48" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.47"/> <UML:Attribute xmi.id="UMLAttribute.49" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.47"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.50" name="DET" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.86 UMLAssociationEnd.99" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.51" name="Name" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.50"/> <UML:Attribute xmi.id="UMLAttribute.52" name="Description" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.50"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.53" name="BoundaryCrossingDET" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" participant="UMLAssociationEnd.77 UMLAssociationEnd.98" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.54" name="Direction" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.53"/> </UML:Classifier.feature> </UML:Class> <UML:Association xmi.id="UMLAssociation.55" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.56" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.55" type="UMLClass.24"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.57" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.55" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.58" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.59" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.58" type="UMLClass.27"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.60" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.58" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.61" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.62" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.61" type="UMLClass.30"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.63" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.61" type="UMLClass.30"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.64" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.65" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.64" type="UMLClass.30"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.66" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.64" type="UMLClass.27"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.67" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.68" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.67" type="UMLClass.31"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.69" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.67" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.70" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.71" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.70" type="UMLClass.42"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.72" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.70" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.73" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.74" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.73" type="UMLClass.38"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.75" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.73" type="UMLClass.11"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.76" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.77" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.76" type="UMLClass.53"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.78" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.76" type="UMLClass.38"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.79" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.80" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.79" type="UMLClass.45"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.81" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.79" type="UMLClass.38"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.82" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.83" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.82" type="UMLClass.47"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.84" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.82" type="UMLClass.42"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.85" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.86" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.85" type="UMLClass.50"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.87" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="composite" targetScope="instance" changeability="changeable" association="UMLAssociation.85" type="UMLClass.47"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.88" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.89" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.88" type="UMLClass.30"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.90" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.88" type="UMLClass.31"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.91" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.92" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.91" type="UMLClass.35"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.93" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="aggregate" targetScope="instance" changeability="changeable" association="UMLAssociation.91" type="UMLClass.31"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.94" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.95" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.94" type="UMLClass.45"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.96" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.94" type="UMLClass.42"/> </UML:Association.connection> </UML:Association> <UML:Association xmi.id="UMLAssociation.97" name="" visibility="public" isSpecification="false" namespace="UMLModel.4"> <UML:Association.connection> <UML:AssociationEnd xmi.id="UMLAssociationEnd.98" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.97" type="UMLClass.53"/> <UML:AssociationEnd xmi.id="UMLAssociationEnd.99" name="" visibility="public" isSpecification="false" isNavigable="true" ordering="unordered" aggregation="none" targetScope="instance" changeability="changeable" association="UMLAssociation.97" type="UMLClass.50"/> </UML:Association.connection> </UML:Association> <UML:Class xmi.id="UMLClass.100" name="" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" isActive="false"/> <UML:Class xmi.id="UMLClass.101" name="DataComplexityTable" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.102" name="RET" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.101"/> <UML:Attribute xmi.id="UMLAttribute.103" name="DET" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.101"/> <UML:Attribute xmi.id="UMLAttribute.104" name="Complexity" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.101"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLClass.105" name="TransactionComplexityTable" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false" isActive="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLAttribute.106" name="FTR" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.105"/> <UML:Attribute xmi.id="UMLAttribute.107" name="DET" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.105"/> <UML:Attribute xmi.id="UMLAttribute.108" name="Complexity" visibility="public" isSpecification="false" ownerScope="instance" changeability="changeable" targetScope="instance" type="" owner="UMLClass.105"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLEnumeration.109" name="ComplexityScale" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLEnumerationLiteral.110" name="Low" visibility="public" isSpecification="false" owner="UMLEnumeration.109"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.111" name="Medium" visibility="public" isSpecification="false" owner="UMLEnumeration.109"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.112" name="High" visibility="public" isSpecification="false" owner="UMLEnumeration.109"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLEnumeration.113" name="DETBoundaryCrossingDirection" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLEnumerationLiteral.114" name="Inbound" visibility="public" isSpecification="false" owner="UMLEnumeration.113"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.115" name="Outbound" visibility="public" isSpecification="false" owner="UMLEnumeration.113"/> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id="UMLEnumeration.116" name="StateType" visibility="public" isSpecification="false" namespace="UMLModel.4" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Classifier.feature> <UML:Attribute xmi.id="UMLEnumerationLiteral.117" name="ProjectData" visibility="public" isSpecification="false" owner="UMLEnumeration.116"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.118" name="FPAdata" visibility="public" isSpecification="false" owner="UMLEnumeration.116"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.119" name="FPAsize" visibility="public" isSpecification="false" owner="UMLEnumeration.116"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.120" name="COSMICdata" visibility="public" isSpecification="false" owner="UMLEnumeration.116"/> <UML:Attribute xmi.id="UMLEnumerationLiteral.121" name="COSMICsize" visibility="public" isSpecification="false" owner="UMLEnumeration.116"/> </UML:Classifier.feature> </UML:Class> <UML:Stereotype xmi.id="X.126" name="designModel" extendedElement="UMLModel.4"/> <UML:Stereotype xmi.id="X.166" name="enumeration" extendedElement="UMLEnumeration.109 UMLEnumeration.113 UMLEnumeration.116"/> </UML:Namespace.ownedElement> </UML:Model> <UML:Model xmi.id="UMLModel.122" name="Implementation Model" visibility="public" isSpecification="false" namespace="UMLProject.1" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Namespace.ownedElement> <UML:Stereotype xmi.id="X.167" name="implementationModel" extendedElement="UMLModel.122"/> </UML:Namespace.ownedElement> </UML:Model> <UML:Model xmi.id="UMLModel.123" name="Deployment Model" visibility="public" isSpecification="false" namespace="UMLProject.1" isRoot="false" isLeaf="false" isAbstract="false"> <UML:Namespace.ownedElement> <UML:Stereotype xmi.id="X.168" name="deploymentModel" extendedElement="UMLModel.123"/> </UML:Namespace.ownedElement> </UML:Model> <UML:DataType xmi.id="X.128" name="StateType" visibility="public" isSpecification="false" isRoot="false" isLeaf="false" isAbstract="false"/> <UML:DataType xmi.id="X.146" name="Boolean" visibility="public" isSpecification="false" isRoot="false" isLeaf="false" isAbstract="false"/> </UML:Namespace.ownedElement> </UML:Model> <UML:TaggedValue xmi.id="X.127" tag="ordering" value="unordered" modelElement="UMLAttribute.6"/> <UML:TaggedValue xmi.id="X.129" tag="ordering" value="unordered" modelElement="UMLAttribute.8"/> <UML:TaggedValue xmi.id="X.130" tag="ordering" value="unordered" modelElement="UMLAttribute.9"/> <UML:TaggedValue xmi.id="X.131" tag="ordering" value="unordered" modelElement="UMLAttribute.10"/> <UML:TaggedValue xmi.id="X.132" tag="ordering" value="unordered" modelElement="UMLAttribute.12"/> <UML:TaggedValue xmi.id="X.133" tag="ordering" value="unordered" modelElement="UMLAttribute.13"/> <UML:TaggedValue xmi.id="X.134" tag="ordering" value="unordered" modelElement="UMLAttribute.14"/> <UML:TaggedValue xmi.id="X.137" tag="ordering" value="unordered" modelElement="UMLAttribute.25"/> <UML:TaggedValue xmi.id="X.140" tag="ordering" value="unordered" modelElement="UMLAttribute.26"/> <UML:TaggedValue xmi.id="X.141" tag="ordering" value="unordered" modelElement="UMLAttribute.28"/> <UML:TaggedValue xmi.id="X.142" tag="ordering" value="unordered" modelElement="UMLAttribute.29"/> <UML:TaggedValue xmi.id="X.143" tag="ordering" value="unordered" modelElement="UMLAttribute.32"/> <UML:TaggedValue xmi.id="X.144" tag="ordering" value="unordered" modelElement="UMLAttribute.33"/> <UML:TaggedValue xmi.id="X.145" tag="ordering" value="unordered" modelElement="UMLAttribute.34"/> <UML:TaggedValue xmi.id="X.147" tag="ordering" value="unordered" modelElement="UMLAttribute.36"/> <UML:TaggedValue xmi.id="X.148" tag="ordering" value="unordered" modelElement="UMLAttribute.37"/> <UML:TaggedValue xmi.id="X.149" tag="ordering" value="unordered" modelElement="UMLAttribute.39"/> <UML:TaggedValue xmi.id="X.150" tag="ordering" value="unordered" modelElement="UMLAttribute.40"/> <UML:TaggedValue xmi.id="X.151" tag="ordering" value="unordered" modelElement="UMLAttribute.41"/> <UML:TaggedValue xmi.id="X.152" tag="ordering" value="unordered" modelElement="UMLAttribute.43"/> <UML:TaggedValue xmi.id="X.153" tag="ordering" value="unordered" modelElement="UMLAttribute.44"/> <UML:TaggedValue xmi.id="X.154" tag="ordering" value="unordered" modelElement="UMLAttribute.46"/> <UML:TaggedValue xmi.id="X.155" tag="ordering" value="unordered" modelElement="UMLAttribute.48"/> <UML:TaggedValue xmi.id="X.156" tag="ordering" value="unordered" modelElement="UMLAttribute.49"/> <UML:TaggedValue xmi.id="X.157" tag="ordering" value="unordered" modelElement="UMLAttribute.51"/> <UML:TaggedValue xmi.id="X.158" tag="ordering" value="unordered" modelElement="UMLAttribute.52"/> <UML:TaggedValue xmi.id="X.159" tag="ordering" value="unordered" modelElement="UMLAttribute.54"/> <UML:TaggedValue xmi.id="X.160" tag="ordering" value="unordered" modelElement="UMLAttribute.102"/> <UML:TaggedValue xmi.id="X.161" tag="ordering" value="unordered" modelElement="UMLAttribute.103"/> <UML:TaggedValue xmi.id="X.162" tag="ordering" value="unordered" modelElement="UMLAttribute.104"/> <UML:TaggedValue xmi.id="X.163" tag="ordering" value="unordered" modelElement="UMLAttribute.106"/> <UML:TaggedValue xmi.id="X.164" tag="ordering" value="unordered" modelElement="UMLAttribute.107"/> <UML:TaggedValue xmi.id="X.165" tag="ordering" value="unordered" modelElement="UMLAttribute.108"/> </XMI.content> </XMI>
Well I'm thinking there may be a way to extend off of org.w3c.dom (which is a built-in java package used for parsing and processing XML and SOAP). It might require a bit of work though.
NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:
When asking for help, please follow these guidelines to receive better and more prompt help:
1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
2. Give full details of errors and provide us with as much information about the situation as possible.
3. Give us an example of what the output should look like when done correctly.
Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/