[Javacavemaps-developers] the parser classes
Status: Pre-Alpha
Brought to you by:
caverdude
From: Larry G. <jav...@ya...> - 2009-01-29 08:13:35
|
Ok if you update now you will see I have refactored a bit. I have 5 Parsing interfaces. I now have a flatfile package and a survey pacakge. In the flatfile package I have 2 abstract classes and 3 Parser classes and two text files that I will probably get rid of later. The survey parsers will use one of the 3 Parser classes as its strategy. For example a SurveyLineParser will load a file of lines and parse them. A SurveyStationParser will load and parse a file of survey stations. ASurveyParser will load a file of Lines and a file of stations which go together. A FlatFileModel is the equivalent of a DOM yet it is for a flat file. There could have been other ways to structure this, but I had to go with something. So this is it. You mentioned our own api for xml, I didnt look at that guys source in SurveyParser.java yet I assumed he used the Standard Java xml api's Larry Gray la...@ar... |