class SymbolizerTypeAnalyzer extends ParametersAnalyzer {

        public boolean validateGraphic(Graphic g){
                //Halo validation and management have to be improved
                if(g instanceof MarkGraphic){
                        MarkGraphic mg = (MarkGraphic) g;
                        Halo h = mg.getHalo();
                        boolean b = validateStrokeAndFill(mg.getStroke(),mg.getFill());
                        if(h!=null){
                                return b && validateFill(h.getFill());
                        } else {
                                return b;
                        }
                } else {
                        return false;
                }
        }

}