Package com.sun.interview
Class JavaHelpFactory
java.lang.Object
com.sun.interview.JavaHelpFactory
- All Implemented Interfaces:
HelpSetFactory
Implementation of the HelpSetFactory interface which is aware of javax.help
library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This exception is to report problems found while opening a JavaHelp help set.static class
This exception is thrown when a named help set cannot be found.Nested classes/interfaces inherited from interface com.sun.interview.HelpSetFactory
HelpSetFactory.Default
-
Field Summary
Fields inherited from interface com.sun.interview.HelpSetFactory
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateHelpID
(Object hsObject, String target) 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.
-
Constructor Details
-
JavaHelpFactory
public JavaHelpFactory()
-
-
Method Details
-
createHelpSetObject
Description copied from interface:HelpSetFactory
Creates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Specified by:
createHelpSetObject
in interfaceHelpSetFactory
- Throws:
Interview.Fault
- if something went wrong
-
createHelpSetObject
Description copied from interface:HelpSetFactory
Creates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Specified by:
createHelpSetObject
in interfaceHelpSetFactory
- Throws:
Interview.Fault
- if something went wrong
-
createHelpID
- Specified by:
createHelpID
in interfaceHelpSetFactory
-
updateHelpSetObject
Description copied from interface:HelpSetFactory
Updates a HelpSet instance associated with the given interview.- Specified by:
updateHelpSetObject
in interfaceHelpSetFactory
- Parameters:
interview
- - interview object to reset HelpSetobject
- - an instance of javax.help.HelpSet
-