public class ECPStaticRendererTester extends Object implements ECPRendererTester
NOT_APPLICABLE
Constructor and Description |
---|
ECPStaticRendererTester(int priority,
Class<? extends VElement> supportedVElement)
The constructor of the static tester.
|
Modifier and Type | Method and Description |
---|---|
int |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement and ViewModelContext are fitting for the provided renderer. |
public int isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
and ViewModelContext
are fitting for the provided renderer.isApplicable
in interface ECPRendererTester
vElement
- the VElement
to checkviewModelContext
- the ViewModelContext
to checkECPRendererTester.NOT_APPLICABLE
if the corresponding renderer should not be used, a positive integer value
otherwise. The renderer with the highest priority will be taken.ECPRendererTester.isApplicable(VElement, ViewModelContext)
Copyright © 2017. All rights reserved.