public class ComesAfterInspectionResultProcessor<M> extends BaseInspectionResultProcessor<M>
comes-after attributes.
comes-after attributes can be added using the UiComesAfter annotation,
among other ways.
| Constructor and Description |
|---|
ComesAfterInspectionResultProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getComesAfter(Element element,
M metawidget)
Hook for subclasses wishing to customize the 'comes-after' indicator.
|
protected boolean |
hasComesAfter(Element element,
M metawidget)
Hook for subclasses wishing to customize the 'comes-after' indicator.
|
Element |
processInspectionResultAsDom(Element inspectionResult,
M metawidget,
Object toInspect,
String type,
String... names)
Optimized verison of
processInspectionResult that avoids DOM
serialization/deserialization. |
processAttributes, processEntity, processInspectionResult, processTrait, processTraitspublic Element processInspectionResultAsDom(Element inspectionResult, M metawidget, Object toInspect, String type, String... names)
DomInspectionResultProcessorprocessInspectionResult that avoids DOM
serialization/deserialization.processInspectionResultAsDom in interface DomInspectionResultProcessor<Element,M>processInspectionResultAsDom in class BaseInspectionResultProcessor<M>inspectionResult - the inspection result to process. Never nullprotected boolean hasComesAfter(Element element, M metawidget)
This can be useful is, say, you wanted to implement different 'comes-after' values for different screens. You may have a 'comes-after-summary' attribute and a 'comes-after-detail' attribute, and choose between them based on some property of the Metawidget. Similar to the approach discussed here: http://blog.kennardconsulting.com/2010/07/customizing-which-form-fields-are_14.html
metawidget - Metawidget doing the renderingprotected String getComesAfter(Element element, M metawidget)
This can be useful is, say, you wanted to implement different 'comes-after' values for different screens. You may have a 'comes-after-summary' attribute and a 'comes-after-detail' attribute, and choose between them based on some property of the Metawidget. Similar to the approach discussed here: http://blog.kennardconsulting.com/2010/07/customizing-which-form-fields-are_14.html
metawidget - Metawidget doing the renderingCopyright © 2015. All Rights Reserved.