コード例 #1
0
 public SimpleFeature next() {
   try {
     return RetypingFeatureCollection.retype(delegate.next(), builder);
   } catch (IllegalAttributeException e) {
     throw new RuntimeException(e);
   }
 }
コード例 #2
0
 public SimpleFeature next() throws IOException {
   try {
     current = delegate.next();
     retyped = RetypingFeatureCollection.retype(current, builder);
     return retyped;
   } catch (IllegalAttributeException e) {
     throw (IOException) new IOException("Error occurred while retyping feature").initCause(e);
   }
 }
コード例 #3
0
 public SimpleFeature next()
     throws IOException, IllegalAttributeException, NoSuchElementException {
   return RetypingFeatureCollection.retype(delegate.next(), builder);
 }