org.eclipse.jst.jsf.core.jsfappconfig
Class ArtifactEditJSFAppConfigProvider

java.lang.Object
  extended by org.eclipse.jst.jsf.core.jsfappconfig.AbstractJSFAppConfigProvider
      extended by org.eclipse.jst.jsf.core.jsfappconfig.ArtifactEditJSFAppConfigProvider
All Implemented Interfaces:
IJSFAppConfigProvider

public class ArtifactEditJSFAppConfigProvider
extends AbstractJSFAppConfigProvider

ArtifactEditJSFAppConfigProvider uses FacesConfigArtifactEdit to provide the root element of an application configuration model.

Provisional API - subject to change


Constructor Summary
ArtifactEditJSFAppConfigProvider(IFile appConfigFile)
          Creates an instance, storing the passed IFile instance for subsequent processing.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
           
 FacesConfigType getFacesConfigModel()
          Gets the root element of the application configuration model for read access.
 int hashCode()
           
 void releaseFacesConfigModel()
          Releases resources associated with acquiring the application configuration model (if any).
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jst.jsf.core.jsfappconfig.AbstractJSFAppConfigProvider
setJSFAppConfigLocater
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactEditJSFAppConfigProvider

public ArtifactEditJSFAppConfigProvider(IFile appConfigFile)
Creates an instance, storing the passed IFile instance for subsequent processing.

Parameters:
appConfigFile - IFile instance that represents an application configuration resource file
Method Detail

getFacesConfigModel

public FacesConfigType getFacesConfigModel()
Description copied from interface: IJSFAppConfigProvider
Gets the root element of the application configuration model for read access.

Specified by:
getFacesConfigModel in interface IJSFAppConfigProvider
Specified by:
getFacesConfigModel in class AbstractJSFAppConfigProvider
Returns:
FacesConfigType instance, which is the root element of an application configuration model.

releaseFacesConfigModel

public void releaseFacesConfigModel()
Description copied from interface: IJSFAppConfigProvider
Releases resources associated with acquiring the application configuration model (if any).

Specified by:
releaseFacesConfigModel in interface IJSFAppConfigProvider
Specified by:
releaseFacesConfigModel in class AbstractJSFAppConfigProvider

equals

public boolean equals(java.lang.Object otherObject)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object