org.codehaus.plexus.configuration.processor
Class ConfigurationProcessor

java.lang.Object
  extended by org.codehaus.plexus.configuration.processor.ConfigurationProcessor

public class ConfigurationProcessor
extends java.lang.Object

Take a normal PlexusConfiguration and look for directives within it that allow the inlining of external configuration sources.

Version:
$Id: ConfigurationProcessor.java 1708 2005-04-15 04:47:38Z brett $
Author:
Jason van Zyl

Field Summary
protected  java.util.Map handlers
           
 
Constructor Summary
ConfigurationProcessor()
           
 
Method Summary
 void addConfigurationResourceHandler(ConfigurationResourceHandler handler)
           
protected  java.util.Map createHandlerParameters(PlexusConfiguration c, java.util.Map variables)
           
 PlexusConfiguration process(PlexusConfiguration configuration, java.util.Map variables)
           
protected  void walk(PlexusConfiguration source, PlexusConfiguration processed, java.util.Map variables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlers

protected java.util.Map handlers
Constructor Detail

ConfigurationProcessor

public ConfigurationProcessor()
Method Detail

addConfigurationResourceHandler

public void addConfigurationResourceHandler(ConfigurationResourceHandler handler)

process

public PlexusConfiguration process(PlexusConfiguration configuration,
                                   java.util.Map variables)
                            throws ConfigurationResourceNotFoundException,
                                   ConfigurationProcessingException
Throws:
ConfigurationResourceNotFoundException
ConfigurationProcessingException

walk

protected void walk(PlexusConfiguration source,
                    PlexusConfiguration processed,
                    java.util.Map variables)
             throws ConfigurationResourceNotFoundException,
                    ConfigurationProcessingException
Throws:
ConfigurationResourceNotFoundException
ConfigurationProcessingException

createHandlerParameters

protected java.util.Map createHandlerParameters(PlexusConfiguration c,
                                                java.util.Map variables)


Copyright © 2001-2007 Codehaus. All Rights Reserved.