org.kabeja.parser.objects
Class AbstractDXFObjectHandler

java.lang.Object
  extended by org.kabeja.parser.objects.AbstractDXFObjectHandler
All Implemented Interfaces:
Handler, DXFObjectHandler
Direct Known Subclasses:
DXFDictionaryHandler, DXFImageDefHandler, DXFMLineStyleHandler, DXFPlotsettingsHandler

public abstract class AbstractDXFObjectHandler
extends java.lang.Object
implements DXFObjectHandler

Author:
Simon Mieth

Field Summary
protected  DXFDocument doc
           
static int GROUPCODE_HANDLE_ID
           
static int GROUPCODE_HARDOWNER_ID
           
static int GROUPCODE_SOFTPOINTER_ID
           
 
Constructor Summary
AbstractDXFObjectHandler()
           
 
Method Summary
protected  void parseCommonGroupCode(int groupCode, DXFValue value, DXFObject obj)
           
 void releaseDXFDocument()
           
 void setDXFDocument(DXFDocument doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kabeja.parser.objects.DXFObjectHandler
endObject, getDXFObject, getObjectType, parseGroup, startObject
 

Field Detail

GROUPCODE_SOFTPOINTER_ID

public static final int GROUPCODE_SOFTPOINTER_ID
See Also:
Constant Field Values

GROUPCODE_HARDOWNER_ID

public static final int GROUPCODE_HARDOWNER_ID
See Also:
Constant Field Values

GROUPCODE_HANDLE_ID

public static final int GROUPCODE_HANDLE_ID
See Also:
Constant Field Values

doc

protected DXFDocument doc
Constructor Detail

AbstractDXFObjectHandler

public AbstractDXFObjectHandler()
Method Detail

releaseDXFDocument

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

setDXFDocument

public void setDXFDocument(DXFDocument doc)
Specified by:
setDXFDocument in interface Handler

parseCommonGroupCode

protected void parseCommonGroupCode(int groupCode,
                                    DXFValue value,
                                    DXFObject obj)