public class FacesInspectionResultProcessor extends BaseInspectionResultProcessor<UIMetawidget>
#{...}
using JSF EL.Constructor and Description |
---|
FacesInspectionResultProcessor()
Constructs a FacesInspectionResultProcessor.
|
FacesInspectionResultProcessor(FacesInspectionResultProcessorConfig config)
Constructs a FacesInspectionResultProcessor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
processAttributes(Map<String,String> attributes,
UIMetawidget metawidget)
Process the given attributes (which may belong to either entity, property or action).
|
protected void |
processEntity(Map<String,String> attributes,
UIMetawidget metawidget,
Object toInspect,
String type,
String... names)
Defers to
processAttributes by default. |
protected void |
processTraits(Element entity,
UIMetawidget metawidget,
Object toInspect,
String type,
String... names)
Process the traits of the given entity.
|
processInspectionResult, processInspectionResultAsDom, processTrait
public FacesInspectionResultProcessor()
public FacesInspectionResultProcessor(FacesInspectionResultProcessorConfig config)
protected void processEntity(Map<String,String> attributes, UIMetawidget metawidget, Object toInspect, String type, String... names)
BaseInspectionResultProcessor
processAttributes
by default.processEntity
in class BaseInspectionResultProcessor<UIMetawidget>
attributes
- attributes of the entity being processed. Subclasses can modify this Map to
modify the attributesmetawidget
- the parent Metawidget. Never null. May be useful to help processingtoInspect
- the Object being inspected. May be useful to help processingtype
- the type being inspected. May be useful to help processingnames
- the names being inspected. May be useful to help processingprotected void processTraits(Element entity, UIMetawidget metawidget, Object toInspect, String type, String... names)
BaseInspectionResultProcessor
processTraits
in class BaseInspectionResultProcessor<UIMetawidget>
entity
- the DOM Element representing the entity that contains the traitsmetawidget
- the parent Metawidget. Never null. May be useful to help processingtoInspect
- the Object being inspected. May be useful to help processingtype
- the type being inspected. May be useful to help processingnames
- the names being inspected. May be useful to help processingprotected void processAttributes(Map<String,String> attributes, UIMetawidget metawidget)
BaseInspectionResultProcessor
Does nothing by default.
processAttributes
in class BaseInspectionResultProcessor<UIMetawidget>
attributes
- attributes of the trait being processed. Subclasses can modify this Map to
modify the attributesmetawidget
- the parent Metawidget. Never null. May be useful to help processingCopyright © 2015. All Rights Reserved.