code: public String getGeometryType() {
        String geometryType = null;
        if (getParameters().length > 0 && getParameters()[0] != null) {
           geometryType = getParameters()[0].toString();
        }
        return geometryType;
     }
docs: Returns the value geometry type parameter.
  
  @return the geometry type or <code>null</code> if not present.