gov.nih.nci.caarray.services.fileparse2.arraydesign
Interface ZoneMatcher

All Known Implementing Classes:
DefaultZoneMatcher, GenePixGALZoneMatcher, UCSFSpotZoneMatcher, ZoneLocationZoneMatcher

public interface ZoneMatcher

This interface allows for custom looking up the zone for a feature row in an array list. The information about an ArrayDesign's Zone and ZoneLayout is normally parsed separately by a subclass of ArrayDesignFileHeaderParser. In order to be linked to the Zone in which the feature being parsed is, the feature would have certain identifying information to refer to its Zone, typically contained in one column that is mapped to ParsedFeature.zoneIdentifier or two columns refering to the x and y coordinates of the Zone.

An implementation of this interface will provide the mappings for looking up a Zone given a key which can be a zoneIdentifier or a combination of the x and y coordinates of the Zone making up a unique identifier.

Author:
TranP

Method Summary
 Zone matchZone(java.util.Map zoneMappings, ParsedFeature parsedFeature)
           
 java.util.Map setupZoneMappings(Zone[] zones)
           
 

Method Detail

setupZoneMappings

java.util.Map setupZoneMappings(Zone[] zones)

matchZone

Zone matchZone(java.util.Map zoneMappings,
               ParsedFeature parsedFeature)