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 class
JavaHelpFactory.BadHelpFault
This exception is to report problems found while opening a JavaHelp help set.static class
JavaHelpFactory.HelpNotFoundFault
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 Constructor Description JavaHelpFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createHelpID(java.lang.Object hsObject, java.lang.String target)
java.lang.Object
createHelpSetObject(java.lang.String name, java.io.File file)
Creates an instance of HelpSet.java.lang.Object
createHelpSetObject(java.lang.String name, java.lang.Class c)
Creates an instance of HelpSet.java.lang.Object
updateHelpSetObject(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.Fault
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
public java.lang.Object createHelpSetObject(java.lang.String name, java.io.File file) throws Interview.Fault
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
public java.lang.Object createHelpID(java.lang.Object hsObject, java.lang.String target)
- Specified by:
createHelpID
in interfaceHelpSetFactory
-
updateHelpSetObject
public java.lang.Object updateHelpSetObject(Interview interview, java.lang.Object object)
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
-
-