org.formaria.svg
Class InfoFileParser

java.lang.Object
  extended by org.formaria.svg.InfoFileParser

public class InfoFileParser
extends java.lang.Object

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.

$Revision: 1.5 $


Field Summary
protected  java.lang.String path
           
protected  Project project
           
protected  java.net.URL url
           
 
Constructor Summary
InfoFileParser(Project project, java.lang.String path)
          Creates a new instance of InfoFileParser Which will be used to parse information from XML files.
 
Method Summary
 void read(int elementNum, HotSpotInfo statusInfo)
          Reads the specified element number from the xml file and passes it by use of the HotSpotInfo interface's set method to a class implementing the interface;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

protected Project project

path

protected java.lang.String path

url

protected java.net.URL url
Constructor Detail

InfoFileParser

public InfoFileParser(Project project,
                      java.lang.String path)
Creates a new instance of InfoFileParser Which will be used to parse information from XML files.

Method Detail

read

public void read(int elementNum,
                 HotSpotInfo statusInfo)
Reads the specified element number from the xml file and passes it by use of the HotSpotInfo interface's set method to a class implementing the interface;

Parameters:
elementNum - int specifying the xml element to be parsed.
statusInfo - HotSpotInfo interface used to pass the element to an implementing class.