uk.ac.soton.harvester
Class DoPageRange

java.lang.Object
  |
  +--uk.ac.soton.harvester.DoPageRange

public class DoPageRange
extends java.lang.Object
implements AttributeMarker

doPageRange recognises the occurrence of the article's page range. It is based around the elaborate isDash method which provides a sure-fire mechanism for spotting the dash in the middle of a page range. In the eventuality that no dash is recognised, just try and set the misc[be] variables. Otherwise, try and set miscb, misce, pubb and pube. This gets a bit convoluted and should be separated into individual classes. The 'misc' portion is the bit between the publication name and the page number which should contain the volume and issue details for subsequent extraction.


Constructor Summary
DoPageRange()
           
 
Method Summary
 int markAttribute(DeciterState ds, int i)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoPageRange

public DoPageRange()
Method Detail

markAttribute

public int markAttribute(DeciterState ds,
                         int i)
Specified by:
markAttribute in interface AttributeMarker
Tags copied from interface: AttributeMarker
Parameters:
ds - the deciter state object containing the current line and all the marker values
i - the offset in the citation line to start searching from
Returns:
the offset at which the next search should start