Skip navigation links
oracle.adf.share.timezone
Class ADFUserTimeZoneConfig
java.lang.Object
oracle.adf.share.timezone.ADFUserTimeZoneConfig
- All Implemented Interfaces:
- ADFConfigCallback, ADFSettingsCallback
-
public class ADFUserTimeZoneConfig
- extends java.lang.Object
- implements ADFConfigCallback, ADFSettingsCallback
This class is used to read the user's timezone preference from adf configuration file. The xml element user-timezone must have an attribute "expression" that contains an EL expression that when evaluated returns the user's timezone preference.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
namespaceURI
public static final java.lang.String namespaceURI
-
- See Also:
- Constant Field Values
USER_TIMEZONE
public static final java.lang.String USER_TIMEZONE
-
- See Also:
- Constant Field Values
ADFUserTimeZoneConfig
public ADFUserTimeZoneConfig()
parseADFConfiguration
public java.util.Map parseADFConfiguration(org.w3c.dom.Element el,
java.util.Map storedResult,
ADFConfigParsingContext currentCtx)
- The method will parse the expression attribute of a user-timezone element from the web-inf/adf-config.xml file. The method ignores any previous results stored for this namespace.
-
- Specified by:
parseADFConfiguration
in interface ADFConfigCallback
-
- Parameters:
el
- The dom element currently being parsed.
storedResult
- The cached parsed results thus far for the registered namespace
currentCtx
- the current context available at the time of parsing.
- Returns:
- component returns the Map, which will be cached for that component and this will be the new storedResult
parseADFSettings
public java.util.Map parseADFSettings(org.w3c.dom.Element el,
java.util.Map storedResult,
ADFConfigParsingContext currentCtx)
-
- Specified by:
parseADFSettings
in interface ADFSettingsCallback
-
- Parameters:
el
- The dom element currently being parsed.
storedResult
- The cached parsed results thus far for the registered namespace
currentCtx
- the current context available at the time of parsing. This can store useful information like the file identifier, ServletContext. This can also be used to store information that may need to be added in future.
- Returns:
- component returns the Map, which will be cached for that component and this will be the new storedResult
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.