uk.org.ogsadai.common
  Interface BlockMaker
  
    - All Known Implementing Classes:
- XMLResourceSetBlockMaker
  
    - public interface BlockMaker
A BlockMaker is used to retrieve a sequence of blocks of some type. The interface is similar to a that of a java.util.Iterator.
  
  
  
    - Author:
- The OGSA-DAI Project Team
  
  
    
      | Method Summary | 
    
      |  boolean | hasNext()Returns
 trueif thisBlockMakerhas more blocks to return, otherwisefalse. | 
    
      |  java.lang.Object | next()Returns the next block.
 | 
  
 
  
  
  next
  
public java.lang.Object next()
                      throws BlockMakerException
  
    - 
      Returns the next block.
      
    
- 
      
        - Returns:
- an Object.
- Throws:
- BlockMakerException- if a problem occurs when accessing the block.
 
  
  hasNext
  
public boolean hasNext()
                throws BlockMakerException
  
    - 
      Returns trueif thisBlockMakerhas more blocks to return, otherwisefalse.
- 
      
        - Returns:
- trueor- false.
- Throws:
- BlockMakerException- if a problem occurs when accessing the blocks.