org.reactive.beans.factory.config.jfig
Class JFigPlaceholderEvaluator

java.lang.Object
  extended by org.reactive.beans.factory.config.AbstractPlaceholderEvaluator
      extended by org.reactive.beans.factory.config.jfig.JFigPlaceholderEvaluator
All Implemented Interfaces:
PlaceholderEvaluator

public class JFigPlaceholderEvaluator
extends AbstractPlaceholderEvaluator

Used to evaluate a placeholder using the JFig configuration agent.

Since:
30/12/2004
Version:
$Id: JFigPlaceholderEvaluator.java,v 1.1 2004/12/30 07:35:28 dan_washusen Exp $
Author:
Dan Washusen
See Also:
JFigConfigurationFactory

Nested Class Summary
protected  class JFigPlaceholderEvaluator.SectionKey
          Wraps a key because JFig uses the concept of a section.
 
Field Summary
protected  org.igfay.jfig.JFigIF configuration
           
 
Constructor Summary
JFigPlaceholderEvaluator()
           
 
Method Summary
protected  java.lang.String[] evaluateArray(Placeholder placeholder)
          Evaluate a String[] placeholder.
protected  java.util.List evaluateList(Placeholder placeholder)
          Evaluate a List placeholder.
protected  java.util.Map evaluateMap(Placeholder placeholder)
          Evaluate a Map placeholder.
protected  java.lang.Object evaluateObject(Placeholder placeholder)
          Evaluate a Object placeholder.
protected  java.util.Properties evaluateProperties(Placeholder placeholder)
          Evaluate a Properties placeholder.
protected  java.util.Set evaluateSet(Placeholder placeholder)
          Evaluate a Set placeholder.
protected  java.lang.String evaluateString(Placeholder placeholder)
          Evaluate a String placeholder.
 org.igfay.jfig.JFigIF getConfiguration()
           
 void setConfiguration(org.igfay.jfig.JFigIF configuration)
           
 
Methods inherited from class org.reactive.beans.factory.config.AbstractPlaceholderEvaluator
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected org.igfay.jfig.JFigIF configuration
Constructor Detail

JFigPlaceholderEvaluator

public JFigPlaceholderEvaluator()
Method Detail

getConfiguration

public org.igfay.jfig.JFigIF getConfiguration()

setConfiguration

public void setConfiguration(org.igfay.jfig.JFigIF configuration)

evaluateString

protected java.lang.String evaluateString(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a String placeholder.

Specified by:
evaluateString in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateArray

protected java.lang.String[] evaluateArray(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a String[] placeholder.

Specified by:
evaluateArray in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateList

protected java.util.List evaluateList(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a List placeholder.

Specified by:
evaluateList in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateSet

protected java.util.Set evaluateSet(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a Set placeholder.

Specified by:
evaluateSet in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateMap

protected java.util.Map evaluateMap(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a Map placeholder.

Specified by:
evaluateMap in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateProperties

protected java.util.Properties evaluateProperties(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a Properties placeholder.

Specified by:
evaluateProperties in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder

evaluateObject

protected java.lang.Object evaluateObject(Placeholder placeholder)
Description copied from class: AbstractPlaceholderEvaluator
Evaluate a Object placeholder.

Specified by:
evaluateObject in class AbstractPlaceholderEvaluator
Parameters:
placeholder - The placeholder to evaluate
Returns:
The value retrieved from the configuration agent based on the placeholder


Copyright © 2004-2005 reactive.org. All Rights Reserved.