Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


oracle.adf.share.timezone
Class ADFUserTimeZoneConfig

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String namespaceURI
           
static java.lang.String USER_TIMEZONE
           

 

Constructor Summary
ADFUserTimeZoneConfig()
           

 

Method Summary
 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.
 java.util.Map parseADFSettings(org.w3c.dom.Element el, java.util.Map storedResult, ADFConfigParsingContext currentCtx)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

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

Constructor Detail

ADFUserTimeZoneConfig

public ADFUserTimeZoneConfig()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


Copyright © 1997, 2009, Oracle. All rights reserved.