noope.input
Class BlockReaderLocation

java.lang.Object
  |
  +--noope.input.BlockReaderLocation
Direct Known Subclasses:
BlockReaderLocationWithContext, StringBlockReaderLocation

public abstract class BlockReaderLocation
extends java.lang.Object

A location in a BlockReader that identifies a position in that particular BlockReader (and to its parents of which it is a subblock). It is not supposed to be human-readable, but the BlockReader should be able to convert it to a BlockReaderContext using BlockReader.getContext(BlockReaderLocation) that contains human-readable information about the position. This class has no methods nor data, it can be used for BlockReader implementations that don't support locations, although this is not recommended, except for testing.

Version:
March-2001
Author:
Miklos Reiter

Constructor Summary
BlockReaderLocation()
           
 
Method Summary
abstract  BlockReaderContext convertToContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockReaderLocation

public BlockReaderLocation()
Method Detail

convertToContext

public abstract BlockReaderContext convertToContext()