com.uwyn.rife.selector
Class XmlSelectorResolver

java.lang.Object
  extended by com.uwyn.rife.selector.XmlSelectorResolver

public abstract class XmlSelectorResolver
extends Object

Looks up XML configuration file locations based on participant parameters.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com), Steven Grimm (koreth[remove] at midwinter dot com)

Constructor Summary
XmlSelectorResolver()
           
 
Method Summary
static String resolve(String parameter, ResourceFinder resourceFinder, String prefix)
          Returns an XML file location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSelectorResolver

public XmlSelectorResolver()
Method Detail

resolve

public static String resolve(String parameter,
                             ResourceFinder resourceFinder,
                             String prefix)
Returns an XML file location.

Parameters:
parameter - Parameter of the participant for this configuration file. This is a comma-separated list of path names and XML selector class names; they are tried in order until one of them resolves to a resource that exists.
resourceFinder - Object that looks up resources on the classpath.
prefix - Configuration file prefix; or

null if none is needed

Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.