org.kabeja.parser.entities
Class AbstractEntityHandler
java.lang.Object
org.kabeja.parser.entities.AbstractEntityHandler
- All Implemented Interfaces:
- DXFEntityHandler, Handler
- Direct Known Subclasses:
- DXFArcHandler, DXFCircleHandler, DXFDimensionHandler, DXFEllipseHandler, DXFHatchHandler, DXFImageHandler, DXFInsertHandler, DXFLeaderHandler, DXFLineHandler, DXFLWPolylineHandler, DXFMLineHandler, DXFMTextHandler, DXFPolylineHandler, DXFRayHandler, DXFRegionHandler, DXFShapeHandler, DXFSolidHandler, DXFSplineHandler, DXFTextHandler, DXFToleranceHandler, DXFViewportHandler
public abstract class AbstractEntityHandler
- extends java.lang.Object
- implements DXFEntityHandler
- Author:
- Simon Mieth
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_REFERENCE
public static final int ELEMENT_REFERENCE
- See Also:
- Constant Field Values
GROUPCODE_START_X
public static final int GROUPCODE_START_X
- See Also:
- Constant Field Values
GROUPCODE_START_Y
public static final int GROUPCODE_START_Y
- See Also:
- Constant Field Values
GROUPCODE_START_Z
public static final int GROUPCODE_START_Z
- See Also:
- Constant Field Values
END_X
public static final int END_X
- See Also:
- Constant Field Values
END_Y
public static final int END_Y
- See Also:
- Constant Field Values
END_Z
public static final int END_Z
- See Also:
- Constant Field Values
LAYER_NAME
public static final int LAYER_NAME
- See Also:
- Constant Field Values
TRANSPARENCY
public static final int TRANSPARENCY
- See Also:
- Constant Field Values
COLOR_CODE
public static final int COLOR_CODE
- See Also:
- Constant Field Values
COLORNAME
public static final int COLORNAME
- See Also:
- Constant Field Values
COLOR_24BIT
public static final int COLOR_24BIT
- See Also:
- Constant Field Values
COLOR_TRANSPARENCY
public static final int COLOR_TRANSPARENCY
- See Also:
- Constant Field Values
FLAGS
public static final int FLAGS
- See Also:
- Constant Field Values
EXTRUSION_X
public static final int EXTRUSION_X
- See Also:
- Constant Field Values
EXTRUSION_Y
public static final int EXTRUSION_Y
- See Also:
- Constant Field Values
EXTRUSION_Z
public static final int EXTRUSION_Z
- See Also:
- Constant Field Values
VISIBILITY
public static final int VISIBILITY
- See Also:
- Constant Field Values
LINE_TYPE
public static final int LINE_TYPE
- See Also:
- Constant Field Values
LINE_TYPE_SCALE
public static final int LINE_TYPE_SCALE
- See Also:
- Constant Field Values
LINE_WEIGHT
public static final int LINE_WEIGHT
- See Also:
- Constant Field Values
GROUPCODE_THICKNESS
public static final int GROUPCODE_THICKNESS
- See Also:
- Constant Field Values
GROUPCODE_STYLENAME
public static final int GROUPCODE_STYLENAME
- See Also:
- Constant Field Values
GROUPCODE_TEXT
public static final int GROUPCODE_TEXT
- See Also:
- Constant Field Values
GROUPCODE_ROTATION_ANGLE
public static final int GROUPCODE_ROTATION_ANGLE
- See Also:
- Constant Field Values
GROUPCODE_MODELSPACE
public static final int GROUPCODE_MODELSPACE
- See Also:
- Constant Field Values
doc
protected DXFDocument doc
AbstractEntityHandler
public AbstractEntityHandler()
setDXFDocument
public void setDXFDocument(DXFDocument doc)
- Specified by:
setDXFDocument
in interface DXFEntityHandler
- Specified by:
setDXFDocument
in interface Handler
parseCommonProperty
protected void parseCommonProperty(int groupCode,
DXFValue value,
DXFEntity entity)
getDXFEntityName
public abstract java.lang.String getDXFEntityName()
- Specified by:
getDXFEntityName
in interface DXFEntityHandler
- Returns:
- the DXFEntity name (LINE,POLYLINE,TEXT,...)
releaseDXFDocument
public void releaseDXFDocument()
- Specified by:
releaseDXFDocument
in interface Handler