Package com.sun.interview
Interface HelpSetFactory
- All Known Implementing Classes:
HelpSetFactory.Default
,JavaHelpFactory
public interface HelpSetFactory
The interface that implements bridge between javax.help package and
JavaTest. Default implementation of this interface just provides stubs,
it doesn't use javax.help and could be used in the batch mode.
Interview while initialization checks if Desktop is available or not,
if yes, the rich factory will be used.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HelpSetFactory
The very default implementation of the HelpSetFactory interface. -
Method Summary
Modifier and TypeMethodDescriptioncreateHelpID
(Object hs, String str) createHelpSetObject
(String name, File file) Creates an instance of HelpSet.createHelpSetObject
(String name, Class<?> c) Creates an instance of HelpSet.updateHelpSetObject
(Interview interview, Object object) Updates a HelpSet instance associated with the given interview.
-
Field Details
-
DEFAULT
The very default implementation of the HelpSetFactory interface. It should be used in case when help is not required (command line mode)
-
-
Method Details
-
createHelpSetObject
Creates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Throws:
Interview.Fault
- if something went wrong
-
createHelpSetObject
Creates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Throws:
Interview.Fault
- if something went wrong
-
updateHelpSetObject
Updates a HelpSet instance associated with the given interview.- Parameters:
interview
- - interview object to reset HelpSetobject
- - an instance of javax.help.HelpSet
-
createHelpID
-