Revision 14307
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/layerOperations/VectorialData.java | ||
---|---|---|
51 | 51 |
|
52 | 52 |
|
53 | 53 |
/** |
54 |
* Interfaz a implementar por las capas con datos vectoriales |
|
54 |
* <p>Interface that layers with vector data must implement.</p> |
|
55 |
* |
|
56 |
* <p>Has methods for supporting the <i>visitor pattern</i> on the data features.</p> |
|
55 | 57 |
*/ |
56 | 58 |
public interface VectorialData { |
57 | 59 |
/** |
58 |
* Realiza un proceso sobre las geometr?as de la capa indicadas por el |
|
59 |
* bitset que se pasa como par?metro |
|
60 |
* Processes the layer's geometries indicated in the bit set, using the criterion of a <code>FeatureVisitor</code> object. |
|
61 |
* |
|
62 |
* @param visitor object that allows visit each feature |
|
63 |
* @param subset indicates the indexes of the geometries that will be visited |
|
60 | 64 |
* |
61 |
* @param visitor Visitor que se recibir? las visitas de las geometr?as |
|
62 |
* @param subset BitSet indicando los ?ndices de las geometr?as que |
|
63 |
* visitar?n |
|
64 |
* @throws ReadDriverException TODO |
|
65 |
* @throws DriverException any exception produced using the driver. |
|
66 |
* @throws VisitException any exception produced visiting the features. |
|
65 | 67 |
* @throws ExpansionFileReadException |
66 |
* @throws VisitorException TODO |
|
67 | 68 |
*/ |
68 | 69 |
public void process(FeatureVisitor visitor, FBitSet subset) |
69 | 70 |
throws ReadDriverException, ExpansionFileReadException, VisitorException; |
70 | 71 |
|
71 | 72 |
|
72 | 73 |
/** |
73 |
* Realiza un proceso sobre las geometr?as de la capa que intersecten |
|
74 |
* el rectangulo que se pasa como parametro |
|
74 |
* Processes the layer's geometries which intersect the rectangle passed as parameter, using the criterion of a <code>FeatureVisitor</code> object. |
|
75 |
* |
|
76 |
* @param visitor object that allows visit each feature |
|
77 |
* @param rect indicates the boundaries that will be analyzed |
|
75 | 78 |
* |
76 |
* @param visitor Visitor que se recibir? las visitas de las geometr?as |
|
77 |
* @param rectangle Indica el rectangulo que contendra a las geometrias |
|
78 |
* que se procesaran |
|
79 |
* @throws ReadDriverException TODO |
|
79 |
* @throws DriverException any exception produced using the driver. |
|
80 |
* @throws VisitException any exception produced visiting the features. |
|
80 | 81 |
* @throws ExpansionFileReadException |
81 |
* @throws VisitorException TODO |
|
82 | 82 |
*/ |
83 | 83 |
public void process(FeatureVisitor visitor, Rectangle2D rect) |
84 | 84 |
throws ReadDriverException, ExpansionFileReadException, VisitorException; |
85 | 85 |
|
86 | 86 |
/** |
87 |
* Realiza un proceso sobre las geometr?as de la capa indicadas por el |
|
88 |
* bitset que se pasa como par?metro |
|
87 |
* Processes the layer's geometries using the criterion of a <code>FeatureVisitor</code> object. |
|
89 | 88 |
* |
90 |
* @param visitor Visitor que se recibir? las visitas de las geometr?as |
|
91 |
* @throws ReadDriverException TODO |
|
92 |
* @throws VisitorException TODO |
|
89 |
* @param visitor object that allows visit each feature |
|
90 |
* |
|
91 |
* @throws DriverException any exception produced using the driver. |
|
92 |
* @throws VisitException any exception produced visiting the features. |
|
93 | 93 |
*/ |
94 | 94 |
public void process(FeatureVisitor visitor) |
95 | 95 |
throws ReadDriverException, VisitorException; |
Also available in: Unified diff