cz.zcu.fav.kiv.editor.config
Class PropertyParser

java.lang.Object
  extended by cz.zcu.fav.kiv.editor.config.PropertyParser

public class PropertyParser
extends java.lang.Object

The PropertyParser class contains methods for parsing files with XML definitions of properties.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Constructor Summary
PropertyParser()
          Initializes a newly created PropertyParser.
 
Method Summary
 java.util.Map<java.lang.String,Property> getParsedPropertyList()
           
 void processPropertyDependency()
          Process values of parameters from unparsedAttributeList.
 void readPropertyDefinition(java.util.Map<java.lang.String,Property> propertyList)
          In sequence parses for every property its XML definition file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyParser

public PropertyParser()
Initializes a newly created PropertyParser. Sets up the SAX parser used for parsing.

Method Detail

readPropertyDefinition

public void readPropertyDefinition(java.util.Map<java.lang.String,Property> propertyList)
In sequence parses for every property its XML definition file.

Parameters:
propertyList - the list of property names loaded from the main configuration file.

processPropertyDependency

public void processPropertyDependency()
Process values of parameters from unparsedAttributeList.


getParsedPropertyList

public java.util.Map<java.lang.String,Property> getParsedPropertyList()