org.jafer.registry.web.struts
Class ProtocolTypesDisplayLink

java.lang.Object
  extended by org.jafer.registry.web.struts.ProtocolTypesDisplayLink

public final class ProtocolTypesDisplayLink
extends java.lang.Object

This class links a display value against the protcol types supported


Field Summary
private static java.util.List displayKeys
          Stores a reference to the map of display links to protocols
private static java.util.HashMap displayLink
          Stores a reference to the map of display links to protocols
static java.lang.String SELECT
          Stores a reference to the SELECT display key string
static java.lang.String SRW
          Stores a reference to the display string for SRW
static java.lang.String Z3950
          Stores a reference to the display string for Z3950
 
Constructor Summary
ProtocolTypesDisplayLink()
           
 
Method Summary
static java.util.List getDisplayKeys()
          Returns a list of all the display keys
static Protocol getProtocolType(java.lang.String key)
          Return the protocol type for the display key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayLink

private static java.util.HashMap displayLink
Stores a reference to the map of display links to protocols


displayKeys

private static java.util.List displayKeys
Stores a reference to the map of display links to protocols


Z3950

public static final java.lang.String Z3950
Stores a reference to the display string for Z3950

See Also:
Constant Field Values

SRW

public static final java.lang.String SRW
Stores a reference to the display string for SRW

See Also:
Constant Field Values

SELECT

public static final java.lang.String SELECT
Stores a reference to the SELECT display key string

See Also:
Constant Field Values
Constructor Detail

ProtocolTypesDisplayLink

public ProtocolTypesDisplayLink()
Method Detail

getDisplayKeys

public static java.util.List getDisplayKeys()
Returns a list of all the display keys

Returns:
A list of display keys

getProtocolType

public static Protocol getProtocolType(java.lang.String key)
Return the protocol type for the display key

Parameters:
key - the display key
Returns:
the related protocol type