com.ibm.as400.ui.tools
Class hdoc2htmBean

java.lang.Object
  extended by com.ibm.as400.ui.tools.hdoc2htmBean
All Implemented Interfaces:
DataBean

public class hdoc2htmBean
extends Object
implements DataBean


Field Summary
Modifier and Type Field and Description
static ToolsResourceLoader m_loader
           
 
Constructor Summary
Constructor and Description
hdoc2htmBean()
           
 
Method Summary
Modifier and Type Method and Description
 Capabilities getCapabilities()
          Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean.
 String getMapFile()
           
 String getSourceDoc()
           
 String getTargetName()
           
 boolean getUseDefaultTarget()
           
 boolean isgenerateMap()
           
 void load()
          Initializes this object.
 void save()
          Saves all changes that have been applied to this object via its accessor methods.
 void setgenerateMap(boolean b)
           
 void setMapFile(String s)
           
 void setSourceDoc(String s)
           
 void setTargetName(String s)
           
 void setUseDefaultTarget(boolean bUse)
           
 void verifyChanges()
          Validates any changes that have been applied to this object via its accessor methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_loader

public static ToolsResourceLoader m_loader
Constructor Detail

hdoc2htmBean

public hdoc2htmBean()
Method Detail

getUseDefaultTarget

public boolean getUseDefaultTarget()

setUseDefaultTarget

public void setUseDefaultTarget(boolean bUse)

getSourceDoc

public String getSourceDoc()

setSourceDoc

public void setSourceDoc(String s)

getTargetName

public String getTargetName()

setTargetName

public void setTargetName(String s)

getCapabilities

public Capabilities getCapabilities()
Description copied from interface: DataBean
Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean. There are many reasons why a DataBean might not support a given attribute. For example:

The Capabilities object may provide a list of instructions, or HandlerTasks, which the UI framework is to perform. Typically these involve disabling or removing certain UI components from a panel.

Specified by:
getCapabilities in interface DataBean
Returns:
a Capabilities object which reflects this object's capabilities
See Also:
Capabilities

verifyChanges

public void verifyChanges()
Description copied from interface: DataBean
Validates any changes that have been applied to this object via its accessor methods.

This method is called just prior to save to give the receiver an opportunity to verify that its data is consistent with any changes made to other DataBeans associated with a given panel. If an inconsistency is discovered the DataBean should throw an exception. This will prevent the changes from being committed.

Specified by:
verifyChanges in interface DataBean

save

public void save()
Description copied from interface: DataBean
Saves all changes that have been applied to this object via its accessor methods. Called when the user has clicked the OK button on a panel.

Specified by:
save in interface DataBean

getMapFile

public String getMapFile()

setMapFile

public void setMapFile(String s)

isgenerateMap

public boolean isgenerateMap()

setgenerateMap

public void setgenerateMap(boolean b)

load

public void load()
Description copied from interface: DataBean
Initializes this object.

This method should be called prior to handing the DataBean off to the UI Framework. On return from this method the bean should be in a state where it is ready to return data on any of its accessor methods.

Specified by:
load in interface DataBean