Package com.sun.interview
Class JavaHelpFactory
- java.lang.Object
-
- com.sun.interview.JavaHelpFactory
-
- All Implemented Interfaces:
HelpSetFactory
public class JavaHelpFactory extends java.lang.Object implements HelpSetFactory
Implementation of the HelpSetFactory interface which is aware of javax.help library.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaHelpFactory.BadHelpFaultThis exception is to report problems found while opening a JavaHelp help set.static classJavaHelpFactory.HelpNotFoundFaultThis 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 Constructor Description JavaHelpFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectcreateHelpID(java.lang.Object hsObject, java.lang.String target)java.lang.ObjectcreateHelpSetObject(java.lang.String name, java.io.File file)Creates an instance of HelpSet.java.lang.ObjectcreateHelpSetObject(java.lang.String name, java.lang.Class<?> c)Creates an instance of HelpSet.java.lang.ObjectupdateHelpSetObject(Interview interview, java.lang.Object object)Updates a HelpSet instance associated with the given interview.
-
-
-
Method Detail
-
createHelpSetObject
public java.lang.Object createHelpSetObject(java.lang.String name, java.lang.Class<?> c) throws Interview.FaultDescription 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
public java.lang.Object createHelpSetObject(java.lang.String name, java.io.File file) throws Interview.FaultDescription 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
public java.lang.Object createHelpID(java.lang.Object hsObject, java.lang.String target)- Specified by:
createHelpIDin interfaceHelpSetFactory
-
updateHelpSetObject
public java.lang.Object updateHelpSetObject(Interview interview, java.lang.Object object)
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
-
-