public class CssStyleProcessor extends Object implements WidgetProcessor<StaticXmlWidget,StaticHtmlMetawidget>
Constructor and Description |
---|
CssStyleProcessor() |
Modifier and Type | Method and Description |
---|---|
StaticXmlWidget |
processWidget(StaticXmlWidget widget,
String elementName,
Map<String,String> attributes,
StaticHtmlMetawidget metawidget)
Process the given widget.
|
public StaticXmlWidget processWidget(StaticXmlWidget widget, String elementName, Map<String,String> attributes, StaticHtmlMetawidget metawidget)
WidgetProcessor
WidgetBuilder
, and before it is added to the Layout
.processWidget
in interface WidgetProcessor<StaticXmlWidget,StaticHtmlMetawidget>
widget
- the widget to process. Never nullelementName
- XML node name of the business field. Typically 'entity', 'property' or 'action'.
Never nullattributes
- attributes of the widget to process. Never null. This Map is modifiable - changes
will be passed to subsequent WidgetProcessors and Layoutsmetawidget
- the parent Metawidget. Never nullCopyright © 2015. All Rights Reserved.