protected boolean isKnownType(String type){
  if (type.equals(LINESTRING)) {
    return true;
  }
 else   if (type.equals(MULTILINESTRING)) {
    return true;
  }
 else   if (type.equals(POINT)) {
    return true;
  }
 else {
    return false;
  }
}

protected boolean isKnownType ( String type ) { if ( type . equals ( LINESTRING ) ) { return true ; } else if ( type . equals ( MULTILINESTRING ) ) { return true ; } else if ( type . equals ( POINT ) ) { return true ; } else { return false ; } }
returns true if type is one of the known wkt types
