org.codehaus.plexus.evaluator.sources
Class PropertiesExpressionSource

java.lang.Object
  extended byorg.codehaus.plexus.evaluator.sources.PropertiesExpressionSource
All Implemented Interfaces:
ExpressionSource

public class PropertiesExpressionSource
extends java.lang.Object
implements ExpressionSource

PropertiesExpressionSource

Version:
$Id: PropertiesExpressionSource.java 4589 2006-11-06 19:28:29Z joakime $
Author:
Joakim Erdfelt

Constructor Summary
PropertiesExpressionSource()
           
 
Method Summary
 java.lang.String getExpressionValue(java.lang.String expression)
          Gets a value for a provided Expression.
 java.util.Properties getProperties()
           
 void setProperties(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesExpressionSource

public PropertiesExpressionSource()
Method Detail

getExpressionValue

public java.lang.String getExpressionValue(java.lang.String expression)
Description copied from interface: ExpressionSource
Gets a value for a provided Expression.

Specified by:
getExpressionValue in interface ExpressionSource
Parameters:
expression - the expression to attempt to get a value for.
Returns:
the value for the expression, or null if no value found.

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties properties)


Copyright © 2001-2007 Codehaus. All Rights Reserved.