org.locomotive.directory
Class XmlBeanParser

java.lang.Object
  |
  +--org.locomotive.directory.XmlBeanParser

public class XmlBeanParser
extends java.lang.Object
implements BeanParser

This class is responsible for parsing a single bean configuration file and building the appropriate BeanConfiguration structure.

Version:
$Id: XmlBeanParser.java,v 1.4 1999/05/05 10:19:32 gunnar Exp $
Author:
Gunnar Rønning (gunnar@candleweb.no).

Constructor Summary
XmlBeanParser(NameService nameService)
           
 
Method Summary
 void parseBeanConfiguration(java.lang.String fileName, BeanConfiguration beanConfig)
          Parse a bean property configuration file and build the approriate BeanConfiguration structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBeanParser

public XmlBeanParser(NameService nameService)
Method Detail

parseBeanConfiguration

public void parseBeanConfiguration(java.lang.String fileName,
                                   BeanConfiguration beanConfig)
Parse a bean property configuration file and build the approriate BeanConfiguration structure. The method can be called several times with the same bean configuration structure, and will the update the structure to reflect the changes introduced by the new file.
Specified by:
parseBeanConfiguration in interface BeanParser
Parameters:
fileName - The fileName of the configuration file.
beanConfig - The beanConfig structure to build/modify.