org.kabeja.processing
Class PolylineConverter

java.lang.Object
  extended by org.kabeja.processing.AbstractConfigurable
      extended by org.kabeja.processing.AbstractPostProcessor
          extended by org.kabeja.processing.PolylineConverter
All Implemented Interfaces:
Configurable, PostProcessor

public class PolylineConverter
extends AbstractPostProcessor


Field Summary
static java.lang.String PROPERTY_POINT_DISTANCE
           
 
Fields inherited from class org.kabeja.processing.AbstractConfigurable
properties
 
Constructor Summary
PolylineConverter()
           
 
Method Summary
protected  void checkDXFEntity(DXFEntity e, Point start, Point end)
           
protected  void cleanUp(DXFLayer layer)
           
protected  void connectPolylineQueues()
          Goes through all polylinequeues and connect them, if they have the same start and end points.
 void process(DXFDocument doc, java.util.Map context)
          Postprocess the given DXFDocument
protected  void processLayer(DXFLayer layer)
           
 void setProperties(java.util.Map properties)
          Set configuration properties of the component
 
Methods inherited from class org.kabeja.processing.AbstractConfigurable
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kabeja.processing.Configurable
getProperties
 

Field Detail

PROPERTY_POINT_DISTANCE

public static final java.lang.String PROPERTY_POINT_DISTANCE
See Also:
Constant Field Values
Constructor Detail

PolylineConverter

public PolylineConverter()
Method Detail

process

public void process(DXFDocument doc,
                    java.util.Map context)
             throws ProcessorException
Description copied from interface: PostProcessor
Postprocess the given DXFDocument

Throws:
ProcessorException

setProperties

public void setProperties(java.util.Map properties)
Description copied from interface: Configurable
Set configuration properties of the component

Specified by:
setProperties in interface Configurable
Overrides:
setProperties in class AbstractConfigurable

processLayer

protected void processLayer(DXFLayer layer)

checkDXFEntity

protected void checkDXFEntity(DXFEntity e,
                              Point start,
                              Point end)

cleanUp

protected void cleanUp(DXFLayer layer)

connectPolylineQueues

protected void connectPolylineQueues()
Goes through all polylinequeues and connect them, if they have the same start and end points.