|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocaleAccessorFactory
Factory that generates locale accessors. The locale information is optionally set on a state. A locale set in the state takes precedence over user preferred locales or locales defined on the users client browser.
Method Summary | |
---|---|
LocaleAccessor |
getLocaleAccessor(Node localeNode,
DocumentModel model)
Returns a read-only interface to the locale information under the assumption that the given root forms the root of the locale data in the document. |
LocaleAccessor |
getLocaleAccessor(StateHolder state)
Returns a read-only interface to the locale information in the state holder. |
LocaleAccessorController |
getLocaleAccessorController(Node localeNode,
DocumentController model)
Returns a read-and-write interface to the locale information under the assumption that the given root forms the root of the locale data in the document. |
LocaleAccessorController |
getLocaleAccessorController(StateHolderController state)
Returns a read-and-write interface to the locale information in the state holder. |
Methods inherited from interface com.ibm.portal.state.accessors.AccessorFactory |
---|
compact |
Method Detail |
---|
LocaleAccessor getLocaleAccessor(StateHolder state)
getLocale
or getLocales
methods.
state
- State holder that contains the locale. Must not be null
.
null
.LocaleAccessor getLocaleAccessor(Node localeNode, DocumentModel model)
localeNode
- Root node for selection information. Must not be null
.model
- Model that contains the root. Must not be null
.
null
.LocaleAccessorController getLocaleAccessorController(StateHolderController state)
state
- State holder controller that contains the locale and allows to modify it.
Must not be null
.
null
.LocaleAccessorController getLocaleAccessorController(Node localeNode, DocumentController model)
localeNode
- Root node for selection information. Must not be null
.model
- Model that contains the root. Must not be null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |