public void setExternalGraphicPath( String externalGraphicPath ) throws MalformedURLException {
if (externalGraphic == null) {
PointSymbolizerWrapper pointSymbolizerWrapper = adapt(PointSymbolizerWrapper.class);
if (pointSymbolizerWrapper != null) {
Graphic graphic = pointSymbolizerWrapper.getGraphic();
graphic.graphicalSymbols().clear();
String urlStr = externalGraphicPath;
if (!externalGraphicPath.startsWith("http:") && !externalGraphicPath.startsWith("file:")) { //$NON-NLS-1$ //$NON-NLS-2$
urlStr = "file:" + externalGraphicPath; //$NON-NLS-1$
}
externalGraphic = sb.createExternalGraphic(new URL(urlStr), getFormat(externalGraphicPath));