org.kabeja.parser.entities
Class DXFPolylineHandler

java.lang.Object
  extended by org.kabeja.parser.entities.AbstractEntityHandler
      extended by org.kabeja.parser.entities.DXFPolylineHandler
All Implemented Interfaces:
DXFEntityHandler, Handler

public class DXFPolylineHandler
extends AbstractEntityHandler

Author:
Simon Mieth

Field Summary
static int COLUMN_COUNT
           
static java.lang.String END_SEQUENCE
           
static int END_SEQUENCE_CODE
           
static int END_WIDTH
           
static java.lang.String ENTITY_NAME
           
static java.lang.String ENTITY_VERTEX
           
static int ROW_COUNT
           
static int START_WIDTH
           
static int SUREFACE_DENSITY_COLUMN_COUNT
           
static int SUREFACE_DENSITY_ROW_COUNT
           
static int SURFACE_TYPE
           
static int THICKNESS
           
static int VERTEX_BULGE
           
 
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
 
Constructor Summary
DXFPolylineHandler()
           
 
Method Summary
 void endDXFEntity()
          Will called if the entity block ends.
 DXFEntity getDXFEntity()
          Called after endDXFEntity.
 java.lang.String getDXFEntityName()
           
 boolean isFollowSequence()
           
 void parseGroup(int groupCode, DXFValue value)
           
 void startDXFEntity()
          Will called if the entity block starts.
 
Methods inherited from class org.kabeja.parser.entities.AbstractEntityHandler
parseCommonProperty, releaseDXFDocument, setDXFDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY_NAME

public static final java.lang.String ENTITY_NAME
See Also:
Constant Field Values

ENTITY_VERTEX

public static final java.lang.String ENTITY_VERTEX
See Also:
Constant Field Values

END_SEQUENCE

public static final java.lang.String END_SEQUENCE
See Also:
Constant Field Values

END_SEQUENCE_CODE

public static final int END_SEQUENCE_CODE
See Also:
Constant Field Values

VERTEX_BULGE

public static final int VERTEX_BULGE
See Also:
Constant Field Values

START_WIDTH

public static final int START_WIDTH
See Also:
Constant Field Values

END_WIDTH

public static final int END_WIDTH
See Also:
Constant Field Values

THICKNESS

public static final int THICKNESS
See Also:
Constant Field Values

SURFACE_TYPE

public static final int SURFACE_TYPE
See Also:
Constant Field Values

SUREFACE_DENSITY_ROW_COUNT

public static final int SUREFACE_DENSITY_ROW_COUNT
See Also:
Constant Field Values

SUREFACE_DENSITY_COLUMN_COUNT

public static final int SUREFACE_DENSITY_COLUMN_COUNT
See Also:
Constant Field Values

ROW_COUNT

public static final int ROW_COUNT
See Also:
Constant Field Values

COLUMN_COUNT

public static final int COLUMN_COUNT
See Also:
Constant Field Values
Constructor Detail

DXFPolylineHandler

public DXFPolylineHandler()
Method Detail

endDXFEntity

public void endDXFEntity()
Description copied from interface: DXFEntityHandler
Will called if the entity block ends.


getDXFEntity

public DXFEntity getDXFEntity()
Description copied from interface: DXFEntityHandler
Called after endDXFEntity.

Returns:
the parsed Entity

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,...)

isFollowSequence

public boolean isFollowSequence()
Returns:
true if the this DXFEntityHandler have to parse the following entities (like POLYLINE), otherwise false (like TEXT,LINE).

parseGroup

public void parseGroup(int groupCode,
                       DXFValue value)

startDXFEntity

public void startDXFEntity()
Description copied from interface: DXFEntityHandler
Will called if the entity block starts.