public class LocaleComponent extends DefaultComponent
| Modifier and Type | Field and Description | 
|---|---|
protected LocaleProvider | 
provider  | 
lastModified, name| Constructor and Description | 
|---|
LocaleComponent()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object. 
 | 
LocaleProvider | 
getProvider()  | 
void | 
registerContribution(Object contribution,
                    String extensionPoint,
                    ComponentInstance contributor)  | 
activate, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected LocaleProvider provider
public LocaleComponent()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic LocaleProvider getProvider()
public <T> T getAdapter(Class<T> adapter)
Adaptablenull
 if no such object can be found.getAdapter in interface AdaptablegetAdapter in class DefaultComponentadapter - the adapter class to look upnull if this object does not have an adapter for
         the given classCopyright © 2019 Nuxeo. All rights reserved.