public class NameProvider
extends java.lang.Object
getName will always return the constant NO_NAME_STRING,
which will be something like "NO_NAME_STRING".
Typically at start up an application will locate a dictionary file, use the NameProviderFactory to
create a INameProvider, and then call the static method @link #setProvider(INameProvider).| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getName(BaseStructure structure)
Returns the pretty name of some evio structure.
|
static boolean |
isProviderSet()
Returns true if the provider (dictionary) was set, else false.
|
static void |
setProvider(INameProvider aProvider)
Sets the one global (singleton) name provider.
|
public static boolean isProviderSet()
true if the provider (dictionary) was set, else false.public static void setProvider(INameProvider aProvider)
aProvider - the provider to use.public static java.lang.String getName(BaseStructure structure)
structure - the structure to find the name of.