Sunday, March 22, 2009

JTree Observations and Inital Screenshots

[Week 23]



This is the main screen after the application is launch. For now I've hard coded some dumb data into the JTree for testing. 


To the left of the JTree is the AWT List which is contain the names of schemas loaded into the application




Here we can see one XSD file in the AWT list on the left. Also I've added an event listener to the JTree and made use of the getSelectionPath() method which returns a TreePath object. 



We can see the TreePath object as a string displayed below the application window. It will be these paths that I will later convert to XPath and display to the user.

Sunday, March 8, 2009

Commons XML Schema Model

[Week 21]

Commons XML Schema model is a general purpose schema model that can be used when a Java object tree representation of an Xml schema is required. -http://bit.ly/SUxXC

I found this API for processing XML schemas. It sounds like it will be perfect for my needs. Quite busy with continuous assessment projects at the moment. I will continue experimenting with this API as time allows and post back on project updates as soon as possible.