public class DetectorTypeEnumHandler extends Object implements IEnumerationHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private static Hashtable<String,String> |
patterns
Every DetectorType value must match one of these patterns.
|
Constructor and Description |
---|
DetectorTypeEnumHandler() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Enumeration> |
getEntity()
Retrieve the entity corresponding to this handler.
|
Enumeration |
getEnumeration(String value)
Attempt to find an enumeration from a list of enumeration values.
|
private static Hashtable<String,String> |
makePatterns() |
public Enumeration getEnumeration(String value) throws EnumerationException
IEnumerationHandler
getEnumeration
in interface IEnumerationHandler
value
- Value for which to find an enumeration.EnumerationException
public Class<? extends Enumeration> getEntity()
IEnumerationHandler
getEntity
in interface IEnumerationHandler
Copyright © 2015 Open Microscopy Environment