private MultiLineString readMultiLine(OraGeom oraGeom){
  int nElem=oraGeom.numElements();
  List geoms=new ArrayList();
  for (int i=0; i < nElem; i++) {
    int etype=oraGeom.eType(i);
    if (etype != OraGeom.ETYPE.LINE)     break;
    geoms.add(readLine(oraGeom,i));
  }
  MultiLineString lines=geometryFactory.createMultiLineString(GeometryFactory.toLineStringArray(geoms));
  return lines;
}

private MultiLineString readMultiLine ( OraGeom oraGeom ) { int nElem = oraGeom . numElements ( ) ; List geoms = new ArrayList ( ) ; for ( int i = 0 ; i < nElem ; i ++ ) { int etype = oraGeom . eType ( i ) ; if ( etype != OraGeom . ETYPE . LINE ) break ; geoms . add ( readLine ( oraGeom , i ) ) ; } MultiLineString lines = geometryFactory . createMultiLineString ( GeometryFactory . toLineStringArray ( geoms ) ) ; return lines ; }
create multilinestring as encoded by eleminfo .
