org.kabeja.parser
Class DXFEntitiesSectionHandler

java.lang.Object
  extended by org.kabeja.parser.AbstractSectionHandler
      extended by org.kabeja.parser.DXFEntitiesSectionHandler
All Implemented Interfaces:
DXFHandler, DXFSectionHandler, Handler, HandlerManager
Direct Known Subclasses:
DXFBlocksSectionHandler

public class DXFEntitiesSectionHandler
extends AbstractSectionHandler
implements DXFSectionHandler, HandlerManager

Author:
Field Summary
static int ENTITY_START
           
protected  DXFEntityHandler handler
           
protected  java.util.Hashtable handlers
           
protected  boolean parseEntity
           
 
Fields inherited from class org.kabeja.parser.AbstractSectionHandler
doc
 
Constructor Summary
DXFEntitiesSectionHandler()
           
 
Method Summary
 void addDXFEntityHandler(DXFEntityHandler handler)
           
 void addHandler(Handler handler)
           
protected  void endEntity()
           
 void endSection()
           
 java.lang.String getSectionKey()
           
 void parseGroup(int groupCode, DXFValue value)
           
 void releaseDXFDocument()
           
 void setDXFDocument(DXFDocument doc)
           
 void startSection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY_START

public static final int ENTITY_START
See Also:
Constant Field Values

handlers

protected java.util.Hashtable handlers

handler

protected DXFEntityHandler handler

parseEntity

protected boolean parseEntity
Constructor Detail

DXFEntitiesSectionHandler

public DXFEntitiesSectionHandler()
Method Detail

getSectionKey

public java.lang.String getSectionKey()
Specified by:
getSectionKey in interface DXFSectionHandler

parseGroup

public void parseGroup(int groupCode,
                       DXFValue value)
Specified by:
parseGroup in interface DXFHandler

setDXFDocument

public void setDXFDocument(DXFDocument doc)
Specified by:
setDXFDocument in interface DXFSectionHandler
Specified by:
setDXFDocument in interface Handler
Overrides:
setDXFDocument in class AbstractSectionHandler

endSection

public void endSection()
Specified by:
endSection in interface DXFSectionHandler

startSection

public void startSection()
Specified by:
startSection in interface DXFSectionHandler

endEntity

protected void endEntity()

addDXFEntityHandler

public void addDXFEntityHandler(DXFEntityHandler handler)

addHandler

public void addHandler(Handler handler)
Specified by:
addHandler in interface HandlerManager

releaseDXFDocument

public void releaseDXFDocument()
Specified by:
releaseDXFDocument in interface Handler