palmed.edit.text
Class CoordinateExtractor

java.lang.Object
  extended by palmed.edit.text.CoordinateExtractor
All Implemented Interfaces:
ILineExtractor

public final class CoordinateExtractor
extends java.lang.Object
implements ILineExtractor

This class implements a coordinate extractor.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
CoordinateExtractor(Coordinate coordinate, ICoordinateExtractor functor)
          Create a coordinate extractor.
 
Method Summary
 void select(IText text, int line)
          Notify a text matches the search criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinateExtractor

public CoordinateExtractor(Coordinate coordinate,
                           ICoordinateExtractor functor)
Create a coordinate extractor.

Parameters:
coordinate - the coordinate to extract
functor - the functor to call when found
Method Detail

select

public void select(IText text,
                   int line)
Notify a text matches the search criteria.

Specified by:
select in interface ILineExtractor
Parameters:
text - the text
line - the line number relative to the text


Copyright © 2004-2006 PalmEd. All Rights Reserved.