[Xml1-wire-devel] DocumentHandler and test program
Status: Planning
                
                Brought to you by:
                
                    vinculum
                    
                
            | 
      
      
      From: Byron K. A. <b.k...@ie...> - 2000-12-15 16:10:03
      
     | 
| I have just added a few files to the repository. OWCluster.java extends Vector to contain a description field TAGhandler.java is a DocumentHandler TAGparser.java parses a document and returns a vector of OWClusters also, in the top level is parserTester.java and 8x1.XML which can be used to test the previous files. parserTester will read the XML file describing and 8x1 board and then start cycling the LEDs in order and polling the switched, printing the description of any switch that is presses. This code handles nested OWClusters, which is not actually specified in the DTD, but should be. The code can not yet handle OW:Class elements, although it should successfully ignore them. Suggestions and criticisms of this code are very welcome. |