public class SymbolizerTypeAnalyzer extends ParametersAnalyzer
ParametersAnalyzer and provides the ability to
validate some input SymbolizerNode by checking their type and the
type of some of their children.| Constructor and Description |
|---|
SymbolizerTypeAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateFill(Fill f)
A
Fill is valid if and only if it is a SolidFill
instance. |
boolean |
validateGraphic(Graphic g)
A
Graphic is valid if and only if it is an instance of MarkGraphic built with both valid Stroke and Fill. |
boolean |
validateStroke(Stroke s)
|
boolean |
validateStrokeAndFill(Stroke s,
Fill f)
Validate the given fill and stroke.
|
analyzeParameters, getStatus, getUsedAnalysis, isAnalysisLight, isAnalysisUnique, isFieldUniquegetLegend, setLegendpublic boolean validateFill(Fill f)
Fill is valid if and only if it is a SolidFill
instance.f - f instanceof SolidFill.public boolean validateStroke(Stroke s)
s - public boolean validateStrokeAndFill(Stroke s, Fill f)
f and s can be null. If they are not, they must be
valid using either validateStroke or validateFill.f - s - public boolean validateGraphic(Graphic g)
Graphic is valid if and only if it is an instance of MarkGraphic built with both valid Stroke and Fill.g - Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.