public enum DictionarySource extends java.lang.Enum<DictionarySource>
Modifier and Type | Method and Description |
---|---|
org.jlab.coda.jevio.EvioXMLDictionary |
getDictionary()
Get the associated dictionary object.
|
java.lang.String |
getXML()
Get the associated xml string dictionary.
|
void |
setDictionary(org.jlab.coda.jevio.EvioXMLDictionary dictionary)
Set both the string and object forms of a dictionary to be associated
with a particular dictionary source.
|
static DictionarySource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DictionarySource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictionarySource EVIOFILE
public static final DictionarySource XML
public static final DictionarySource CMSG
public static final DictionarySource ET
public static final DictionarySource NONE
public static DictionarySource[] values()
for (DictionarySource c : DictionarySource.values()) System.out.println(c);
public static DictionarySource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void setDictionary(org.jlab.coda.jevio.EvioXMLDictionary dictionary)
dictionary
- dictionary objectpublic java.lang.String getXML()
public org.jlab.coda.jevio.EvioXMLDictionary getDictionary()