|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAbstraction
Stands for any object which can be evaluate.
| Field Summary | |
|---|---|
static Boolean |
DEFAULT_EVAL_ARGS
Default is not eval arguments. |
static String |
FEATURE_EVAL_ARGS
Feature to eval arguments. |
| Method Summary | |
|---|---|
List<String> |
getArguments()
Get element arguments in a array. |
List<String> |
getArguments(List<String> arguments)
Get element arguments in a array. |
IComparator |
getComparator()
Get the comparator of the given element. |
IComparator |
getComparator(IComparator comparatorDefault)
Get the comparator of the given element. |
IConverter |
getConverter()
Get the converter. |
IConverter |
getConverter(IConverter converterDefault)
Get the converter, if any, otherwise returns the default converter. |
IFormatter |
getFormatter()
Get the abstraction formatter. |
IFormatter |
getFormatter(IFormatter formatterDefault)
Get the abstraction formatter. |
List<String> |
getFormatterArguments()
Get formatter attributes. |
List<String> |
getFormatterArguments(List<String> arguments)
Get formatter arguments. |
Object |
getObject(IContext context,
boolean silent)
Gets the corresponding value object. |
Object |
getObject(IContext context,
boolean silent,
IConverter converter,
List<String> arguments)
Gets the corresponding value object. |
IReader |
getReader()
Get reader object. |
IReader |
getReader(IReader readerDefault)
Get reader object or default if not found. |
String |
getValue(IContext context)
Get element value. |
String |
getValue(IContext context,
Object[] args)
Get element value. |
| Field Detail |
|---|
static final String FEATURE_EVAL_ARGS
static final Boolean DEFAULT_EVAL_ARGS
| Method Detail |
|---|
String getValue(IContext context)
context - The test context.
String getValue(IContext context,
Object[] args)
context - The test context.args - Arguments to return value.
IReader getReader()
throws ReaderException
ReaderException - On reader load error.
IReader getReader(IReader readerDefault)
throws ReaderException
readerDefault - The default reader.
ReaderException - On reader load error.
IConverter getConverter()
throws ConverterException
ConverterException - On converter lookup error.
IConverter getConverter(IConverter converterDefault)
throws ConverterException
converterDefault - The default converter.
ConverterException - On converter lookup error.List<String> getArguments()
List<String> getArguments(List<String> arguments)
arguments - The default arguments in case of not found.
IComparator getComparator()
throws ComparatorException
ComparatorException - O comparator lookup errors.
IComparator getComparator(IComparator comparatorDefault)
throws ComparatorException
comparatorDefault - The default comparator.
ComparatorException - O comparator lookup errors.List<String> getFormatterArguments()
List<String> getFormatterArguments(List<String> arguments)
arguments - Default list of arguments.
IFormatter getFormatter()
throws FormatterException
FormatterException - On formatter lookup error.
IFormatter getFormatter(IFormatter formatterDefault)
throws FormatterException
formatterDefault - Default formatter.
FormatterException - On formatter lookup error.
Object getObject(IContext context,
boolean silent)
throws PluginException
context - The context.silent - Flag to evaluate silently or not.
PluginException - On plugin errors.
Object getObject(IContext context,
boolean silent,
IConverter converter,
List<String> arguments)
throws PluginException
context - The context.silent - Flag to evaluate silently or not.converter - The converter.arguments - The arguments.
PluginException - On plugin errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||