com.logabit.webtools.patchwork
Class PatchworkConfigurationParserImpl

java.lang.Object
  extended by com.logabit.webtools.patchwork.PatchworkConfigurationParserImpl
All Implemented Interfaces:
PatchworkConfigurationParser, org.apache.avalon.framework.service.Serviceable

public class PatchworkConfigurationParserImpl
extends java.lang.Object
implements PatchworkConfigurationParser, org.apache.avalon.framework.service.Serviceable

This class parses a patchwork config file and returns the corresponding PatchworkConfiguration object. Note: Caching is not a task of this class. It is implemented in the PatchworkManagerImpl.

Author:
Stephan Niedermeier

Field Summary
 
Fields inherited from interface com.logabit.webtools.patchwork.PatchworkConfigurationParser
ROLE
 
Constructor Summary
PatchworkConfigurationParserImpl()
           
 
Method Summary
 PatchworkConfiguration parse(java.io.File file)
          Starts the parsing process of the given patchwork configuration file.
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchworkConfigurationParserImpl

public PatchworkConfigurationParserImpl()
Method Detail

parse

public PatchworkConfiguration parse(java.io.File file)
                             throws PatchworkConfigurationException
Description copied from interface: PatchworkConfigurationParser
Starts the parsing process of the given patchwork configuration file.

Specified by:
parse in interface PatchworkConfigurationParser
Parameters:
file - - The patchwork configuration file.
Returns:
The created patchwork configuration object.
Throws:
PatchworkConfigurationException - - If something went wrong during the parse process.

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException


Copyright © 2007. All Rights Reserved.