Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jst.jsf.designtime.internal.provisional.context
Class DTFacesContext

    java.lang.Object
      org.eclipse.jst.jsf.designtime.internal.provisional.context.DTFacesContext

public class DTFacesContext
extends java.lang.Object

Represents a design-time version of the JSF FacesContext for a particular web application. Client may not sub-class.

Constructor Summary
`DTFacesContext(IExternalContextFactoryLocator locator)`

Method Summary
`IDTExternalContext` | `getDTExternalContext(org.eclipse.core.runtime.IAdaptable contextObject)`
`java.lang.String` | `getLocaleString()`
`void` | `setLocaleString(java.lang.String newLocaleString)`

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

Constructor Detail

### DTFacesContext

    public DTFacesContext(IExternalContextFactoryLocator locator)

Parameters:
  `locator` -

Method Detail

### getDTExternalContext

    public IDTExternalContext getDTExternalContext(org.eclipse.core.runtime.IAdaptable contextObject)

  Parameters:
    `contextObject` - -- the object corresponding to the external context. Usually an IFile point to a file containing the external context. It must be adaptable to an IFile.
  Returns:
    the designtime external context or null if one is not defined for this contextObject

### getLocaleString

    public java.lang.String getLocaleString()

  Returns:
    the current locale string

### setLocaleString

    public void setLocaleString(java.lang.String newLocaleString)

  Parameters:
    `newLocaleString` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD