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 classThis exception is to report problems found while opening a JavaHelp help set.static classThis exception is thrown when a named help set cannot be found.Nested classes/interfaces inherited from interface HelpSetFactory
HelpSetFactory.Default -
Field Summary
Fields inherited from interface 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:HelpSetFactoryCreates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Specified by:
createHelpSetObjectin interfaceHelpSetFactory- Throws:
Interview.Fault- if something went wrong
-
createHelpSetObject
Description copied from interface:HelpSetFactoryCreates an instance of HelpSet. Real implementation should create of javax.help.HelpSet, when a stub implementation just object.- Specified by:
createHelpSetObjectin interfaceHelpSetFactory- Throws:
Interview.Fault- if something went wrong
-
createHelpID
- Specified by:
createHelpIDin interfaceHelpSetFactory
-
updateHelpSetObject
Description copied from interface:HelpSetFactoryUpdates a HelpSet instance associated with the given interview.- Specified by:
updateHelpSetObjectin interfaceHelpSetFactory- Parameters:
interview- - interview object to reset HelpSetobject- - an instance of javax.help.HelpSet
-