Show
Ignore:
Timestamp:
08/15/09 09:16:27 (3 years ago)
Author:
jgao
Message:

boolean isMappingSupported(src, tgt) in IDMapperCapabilities

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/corelib/src/org/bridgedb/IDMapperStack.java

    r129 r157  
    176176                } 
    177177 
     178                /** {@inheritDoc} */ 
     179                public boolean isMappingSupported(DataSource src, DataSource tgt) 
     180                                throws IDMapperException { 
     181                    for (IDMapper idm : IDMapperStack.this.gdbs) 
     182                    { 
     183                        if (idm.getCapabilities().isMappingSupported(src, tgt)) { 
     184                            return true; 
     185                        } 
     186                    } 
     187                    return false; 
     188                } 
     189 
    178190                /** 
    179191                 * @return true if free search is supported by one of the children