public class TypeMappingInspectionResultProcessor<M> extends BaseInspectionResultProcessor<M>
InspectionResultProcessor
to map types from one domain into another.
Can be configured to map, say, type="string"
to type="java.lang.String"
. Consider using one of its pre-configured subclasses for common use cases.
Constructor and Description |
---|
TypeMappingInspectionResultProcessor(TypeMappingInspectionResultProcessorConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
processAttributes(Map<String,String> attributes,
M metawidget)
Process the given attributes (which may belong to either entity, property or action).
|
processEntity, processInspectionResult, processInspectionResultAsDom, processTrait, processTraits
public TypeMappingInspectionResultProcessor(TypeMappingInspectionResultProcessorConfig config)
protected void processAttributes(Map<String,String> attributes, M metawidget)
BaseInspectionResultProcessor
Does nothing by default.
processAttributes
in class BaseInspectionResultProcessor<M>
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.