org::gel::mauve::DbXrefFactory Class Reference

A factory class that tracks databases known to have a GenBank xref Use this class to map a GenBank db_xref to a URL. More...

Collaboration diagram for org::gel::mauve::DbXrefFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void addHandler (DbXrefHandler dxh)
String getDbName (String db_xref) throws UnknownDatabaseException
String getDbURL (String db_xref) throws UnknownDatabaseException
DbXrefHandler getHandler (String db_xref) throws UnknownDatabaseException
void removeHandler (String db_id)

Static Public Member Functions

DbXrefFactory getInstance ()

Private Member Functions

 DbXrefFactory ()

Private Attributes

HashMap handlers = new HashMap ()

Static Private Attributes

DbXrefFactory instance = new DbXrefFactory ()

Detailed Description

A factory class that tracks databases known to have a GenBank xref Use this class to map a GenBank db_xref to a URL.

Author:
koadman

Definition at line 17 of file DbXrefFactory.java.


Constructor & Destructor Documentation

org::gel::mauve::DbXrefFactory::DbXrefFactory  )  [inline, private]
 

Definition at line 63 of file DbXrefFactory.java.

References org::gel::mauve::DbXrefHandler::getDbId(), and handlers.


Member Function Documentation

void org::gel::mauve::DbXrefFactory::addHandler DbXrefHandler  dxh  )  [inline]
 

Definition at line 26 of file DbXrefFactory.java.

References org::gel::mauve::DbXrefHandler::getDbId(), and handlers.

String org::gel::mauve::DbXrefFactory::getDbName String  db_xref  )  throws UnknownDatabaseException [inline]
 

Definition at line 44 of file DbXrefFactory.java.

References getHandler(), and org::gel::mauve::DbXrefHandler::getName().

Referenced by org::gel::mauve::gui::sequence::FeaturePanel::DbXrefMenuItemBuilder::getItem().

String org::gel::mauve::DbXrefFactory::getDbURL String  db_xref  )  throws UnknownDatabaseException [inline]
 

Definition at line 35 of file DbXrefFactory.java.

References getHandler(), and org::gel::mauve::DbXrefHandler::getURL().

Referenced by org::gel::mauve::gui::sequence::FeaturePanel::DbXrefMenuItemBuilder::getItem().

DbXrefHandler org::gel::mauve::DbXrefFactory::getHandler String  db_xref  )  throws UnknownDatabaseException [inline]
 

Definition at line 49 of file DbXrefFactory.java.

References handlers.

Referenced by getDbName(), and getDbURL().

DbXrefFactory org::gel::mauve::DbXrefFactory::getInstance  )  [inline, static]
 

Definition at line 22 of file DbXrefFactory.java.

References instance.

void org::gel::mauve::DbXrefFactory::removeHandler String  db_id  )  [inline]
 

Definition at line 31 of file DbXrefFactory.java.

References handlers.


Member Data Documentation

HashMap org::gel::mauve::DbXrefFactory::handlers = new HashMap () [private]
 

Definition at line 20 of file DbXrefFactory.java.

Referenced by addHandler(), DbXrefFactory(), getHandler(), and removeHandler().

DbXrefFactory org::gel::mauve::DbXrefFactory::instance = new DbXrefFactory () [static, private]
 

Definition at line 18 of file DbXrefFactory.java.

Referenced by getInstance().


The documentation for this class was generated from the following file:
Generated on Mon Aug 19 06:03:45 2013 for Mauve by doxygen 1.3.6