public static interface DmdlSourceRepository.Cursor extends Closeable
| Modifier and Type | Method and Description | 
|---|---|
URI | 
getIdentifier()
Returns the identifier of the current resource. 
 | 
boolean | 
next()
Moves this cursor to next resource, and then returns  
true
 iff the next resource exists. | 
Reader | 
openResource()
Open the current resource to read contents. 
 | 
boolean next()
      throws IOException
true
 iff the next resource exists.true iff the next resource existsIOException - if failed to move this cursorURI getIdentifier() throws IOException
NoSuchElementException - if the current cursor is not on any elementIOException - if failed to identify the current resourceReader openResource() throws IOException
This method can be invoked up to once.
NoSuchElementException - if the current cursor is not on any elementIOException - if failed to open the current resourceCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.