question: protected OMGraphic makeEsriGraphic ( BinaryFile shpFile , DrawingAttributes drawingAttributes , Object pointRepresentation , ReadByteTracker byteTracker ) throws IOException , FormatException { EsriGraphic eg = null ; shpFile . byteOrder ( false ) ; int shapeType = shpFile . readInteger ( ) ; byteTracker . addRead ( 4 ) ; if ( verbose ) { logger . info ( "reading shape type: " + shapeType + ", " + ShapeUtils . getStringForType ( shapeType ) ) ; } switch ( shapeType ) { case SHAPE_TYPE_NULL : break ; case SHAPE_TYPE_POINT : eg = createPointGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYLINE : eg = createPolylineGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYGON : eg = createPolygonGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_MULTIPOINT : eg = createMultiPointGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POINTZ : eg = createPointZGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYLINEZ : eg = createPolylineZGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYGONZ : eg = createPolygonZGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_MULTIPOINTZ : eg = createMultiPointZGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POINTM : eg = createPointMGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYLINEM : eg = createPolylineMGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_POLYGONM : eg = createPolygonMGraphic ( shpFile , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_MULTIPOINTM : eg = createMultiPointMGraphic ( shpFile , pointRepresentation , drawingAttributes , byteTracker ) ; break ; case SHAPE_TYPE_MULTIPATCH : default : } return ( OMGraphic ) eg ; }
target:  Creates a OMGraphic from the shape file data.