public interface IAbstraction
| Modifier and Type | Field and Description |
|---|---|
static Boolean |
DEFAULT_EVAL_ARGS
Default is not eval arguments.
|
static Boolean |
DEFAULT_EVAL_FORMATTER_ARGS
Default is not eval formatter arguments.
|
static String |
FEATURE_EVAL_ARGS
Feature to eval arguments.
|
static String |
FEATURE_EVAL_FORMATTER_ARGS
Feature to eval formatter arguments.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final String FEATURE_EVAL_ARGS
static final Boolean DEFAULT_EVAL_ARGS
static final String FEATURE_EVAL_FORMATTER_ARGS
static final Boolean DEFAULT_EVAL_FORMATTER_ARGS
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.Copyright © 2016. All rights reserved.