root / trunk / libraries / libDwg / src / com / iver / cit / jdwglib / dwg / readers / IDwgObjectReader.java @ 9910
History | View | Annotate | Download (877 Bytes)
1 |
/*
|
---|---|
2 |
* Created on 25-ene-2007 by azabala
|
3 |
*
|
4 |
*/
|
5 |
package com.iver.cit.jdwglib.dwg.readers; |
6 |
|
7 |
import com.iver.cit.jdwglib.dwg.DwgObject; |
8 |
|
9 |
/**
|
10 |
* Each dwg entity in the dwg section OBJECTS has a common part
|
11 |
* and an specific part.
|
12 |
* This interface has the responsability of reading the specif part.
|
13 |
*
|
14 |
* In previous versions of libDwg DwgObject has this responsability, but
|
15 |
* with the inclusion of new versions of DWG (12, 13, 14, 2004) implementation
|
16 |
* is function of the dwg entity and the version.
|
17 |
*
|
18 |
*
|
19 |
*
|
20 |
* @author azabala
|
21 |
|
22 |
*/
|
23 |
public interface IDwgObjectReader { |
24 |
|
25 |
|
26 |
/**
|
27 |
* Reads the specific part of the dwg object
|
28 |
* */
|
29 |
public void readSpecificObj(int[] data, int offset, DwgObject dwgObj); |
30 |
/**
|
31 |
* Sets the fileReader (wich has the responsability of read
|
32 |
* head and tail of a dwg object)
|
33 |
* */
|
34 |
public void setFileReader(IDwgFileReader headTailReader); |
35 |
} |