public static PointSymbolizer createDefaultPointSymbolizer(){
  String geometryFieldName=null;
  Expression geometryField=ff.property(geometryFieldName);
  List<GraphicalSymbol> symbolList=new ArrayList<GraphicalSymbol>();
  Stroke stroke=null;
  AnchorPoint anchorPoint=null;
  Displacement displacement=null;
  Fill fill=styleFactory.createFill(ff.literal(DEFAULT_MARKER_COLOUR));
  GraphicalSymbol symbol=styleFactory.mark(ff.literal(DEFAULT_MARKER_SYMBOL),fill,stroke);
  symbolList.add(symbol);
  Graphic graphic=styleFactory.graphic(symbolList,ff.literal(DEFAULT_COLOUR_OPACITY),ff.literal(DEFAULT_MARKER_SYMBOL_SIZE),ff.literal(0.0),anchorPoint,displacement);
  PointSymbolizer newPointSymbolizer=(PointSymbolizer)styleFactory.pointSymbolizer(Localisation.getString(SLDTreeTools.class,"TreeItem.newMarker"),geometryField,null,null,graphic);
  return newPointSymbolizer;
}

public static PointSymbolizer createDefaultPointSymbolizer ( ) { String geometryFieldName = null ; Expression geometryField = ff . property ( geometryFieldName ) ; List < GraphicalSymbol > symbolList = new ArrayList < GraphicalSymbol > ( ) ; Stroke stroke = null ; AnchorPoint anchorPoint = null ; Displacement displacement = null ; Fill fill = styleFactory . createFill ( ff . literal ( DEFAULT_MARKER_COLOUR ) ) ; GraphicalSymbol symbol = styleFactory . mark ( ff . literal ( DEFAULT_MARKER_SYMBOL ) , fill , stroke ) ; symbolList . add ( symbol ) ; Graphic graphic = styleFactory . graphic ( symbolList , ff . literal ( DEFAULT_COLOUR_OPACITY ) , ff . literal ( DEFAULT_MARKER_SYMBOL_SIZE ) , ff . literal ( 0.0 ) , anchorPoint , displacement ) ; PointSymbolizer newPointSymbolizer = ( PointSymbolizer ) styleFactory . pointSymbolizer ( Localisation . getString ( SLDTreeTools . class , "TreeItem.newMarker" ) , geometryField , null , null , graphic ) ; return newPointSymbolizer ; }
creates the default point symbolizer .
