com.codestreet.selector.parser
Interface IValueProvider
- All Known Implementing Classes:
- AbstractValueProvider, ValueProvider, ValueProvider
- public interface IValueProvider
Value provider interface. A value provider allows an application to provide
identifier values on demand. As a selector is evaluated, callbacks are made
on the value provider when an identifier's value is needed.
- Author:
- Jawaid Hakim.
- See Also:
Selector
Method Summary |
java.lang.Object |
getValue(java.lang.Object identifier,
java.lang.Object correlation)
Get value of specified identifier. |
getValue
public java.lang.Object getValue(java.lang.Object identifier,
java.lang.Object correlation)
- Get value of specified identifier.
- Parameters:
identifier
- Identifier.correlation
- Correlation data. May be null.
- Returns:
- Value of specified identifier. Returns null if
identifier is not found. Numeric values - Integer,
Short, Long, Float,
Double, and Byte - MUST be wrapped in an
instance of NumericValue.
- See Also:
NumericValue
Copyright © 2002-2006 CodeStreet. All Rights Reserved.