org.kabeja.parser.entities
Class DXFRegionHandler
java.lang.Object
org.kabeja.parser.entities.AbstractEntityHandler
org.kabeja.parser.entities.DXFRegionHandler
- All Implemented Interfaces:
- DXFEntityHandler, Handler
- Direct Known Subclasses:
- DXF3DSolidHandler, DXFBodyHandler
public class DXFRegionHandler
- extends AbstractEntityHandler
- Author:
- Simon Mieth
Fields inherited from class org.kabeja.parser.entities.AbstractEntityHandler |
COLOR_24BIT, COLOR_CODE, COLOR_TRANSPARENCY, COLORNAME, doc, ELEMENT_REFERENCE, END_X, END_Y, END_Z, EXTRUSION_X, EXTRUSION_Y, EXTRUSION_Z, FLAGS, GROUPCODE_MODELSPACE, GROUPCODE_ROTATION_ANGLE, GROUPCODE_START_X, GROUPCODE_START_Y, GROUPCODE_START_Z, GROUPCODE_STYLENAME, GROUPCODE_TEXT, GROUPCODE_THICKNESS, LAYER_NAME, LINE_TYPE, LINE_TYPE_SCALE, LINE_WEIGHT, TRANSPARENCY, VISIBILITY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATA
protected static final int DATA
- See Also:
- Constant Field Values
APPEND_DATA
protected static final int APPEND_DATA
- See Also:
- Constant Field Values
region
protected DXFRegion region
data
protected java.lang.StringBuffer data
DXFRegionHandler
public DXFRegionHandler()
getDXFEntityName
public java.lang.String getDXFEntityName()
- Specified by:
getDXFEntityName
in interface DXFEntityHandler
- Specified by:
getDXFEntityName
in class AbstractEntityHandler
- Returns:
- the DXFEntity name (LINE,POLYLINE,TEXT,...)
startDXFEntity
public void startDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Will called if the entity block starts.
parseGroup
public void parseGroup(int groupCode,
DXFValue value)
getDXFEntity
public DXFEntity getDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Called after endDXFEntity.
- Returns:
- the parsed Entity
endDXFEntity
public void endDXFEntity()
- Description copied from interface:
DXFEntityHandler
- Will called if the entity block ends.
isFollowSequence
public boolean isFollowSequence()
- Returns:
- true if the this DXFEntityHandler have to parse the following entities (like POLYLINE),
otherwise false (like TEXT,LINE).
decodeDATA
protected java.lang.String decodeDATA(java.lang.String s)
checkBuffer
protected void checkBuffer()