visad.data.netcdf.in
Class DefaultView.DefaultDataIterator

java.lang.Object
  extended byvisad.data.netcdf.in.VirtualDataIterator
      extended byvisad.data.netcdf.in.DefaultView.DefaultDataIterator
Enclosing class:
DefaultView

final class DefaultView.DefaultDataIterator
extends VirtualDataIterator

Iterates over the virtual VisAD data objects in a netCDF dataset.


Field Summary
 
Fields inherited from class visad.data.netcdf.in.VirtualDataIterator
view
 
Constructor Summary
(package private) DefaultView.DefaultDataIterator()
          Constructs from nothing.
 
Method Summary
protected  VirtualData getData()
          Returns a clone of the next virtual VisAD data object.
 
Methods inherited from class visad.data.netcdf.in.VirtualDataIterator
getNetcdf, hasNext, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultView.DefaultDataIterator

DefaultView.DefaultDataIterator()
Constructs from nothing.

Method Detail

getData

protected VirtualData getData()
                       throws TypeException,
                              VisADException,
                              IOException
Returns a clone of the next virtual VisAD data object.

This implementation uses View.isCharToText(), View.isNumeric(Variable), DefaultView.isIgnorable(Variable), and View.getData(Variable).

Specified by:
getData in class VirtualDataIterator
Returns:
A clone of the next virtual VisAD data object or null if there is no more data.
Throws:
TypeException - if a ScalarType needed to be created but couldn't.
VisADException - Couldn't create necessary VisAD object.
IOException