uk.ac.soton.harvester
Interface AttributeMarker

All Known Implementing Classes:
DoAuthors, DoDate, DoNothing, DoNumbering, DoPageRange, DoPlace, DoPublication, DoPublisher, DoTidyUpMisc, DoTitle, DoVolAndIssue, DoWhiteSpace, DoXXXId

public interface AttributeMarker

AttributeMarker is an interface that models the phenomenon of an object that knows how to look for a particular attribute of a citation (title, author, volume etc). An AttributeMarker object is expected to be constructed with a reference to the calling deciter object, so that it can access all the variables. (This is not very pretty and should be done via interfaces and accessor methods, but time presses.)


Method Summary
 int markAttribute(DeciterState ds, int i)
           
 

Method Detail

markAttribute

public int markAttribute(DeciterState ds,
                         int i)
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