public class MultilanguageDuplocatorSettings extends java.lang.Object implements PersistentStateComponent<Element>
Constructor and Description |
---|
MultilanguageDuplocatorSettings() |
Modifier and Type | Method and Description |
---|---|
static MultilanguageDuplocatorSettings |
getInstance() |
Element |
getState() |
ExternalizableDuplocatorState |
getState(Language language) |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
void |
registerState(Language language,
ExternalizableDuplocatorState state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static MultilanguageDuplocatorSettings getInstance()
public void registerState(Language language, ExternalizableDuplocatorState state)
public ExternalizableDuplocatorState getState(Language language)
public Element getState()
getState
in interface PersistentStateComponent<Element>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)