Package javax.help
Class HelpSet.DefaultHelpSetFactory
java.lang.Object
javax.help.HelpSet.DefaultHelpSetFactory
- Enclosing class:
- HelpSet
The default HelpSetFactory that processes HelpSets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnumerates all the error messages.parsingEnded(HelpSet hs) Parsing has ended.voidparsingStarted(URL source) Parsing starts.voidprocessDOCTYPE(String root, String publicID, String systemID) Process a DOCTYPEvoidprocessHomeID(HelpSet hs, String value) A HomeID is found.voidprocessMapRef(HelpSet hs, Hashtable attributes) process a <mapref>voidProcesses a PIvoidprocessPresentation(HelpSet hs, String name, boolean defaultPresentation, boolean displayViews, boolean displayViewImages, Dimension size, Point location, String title, String imageID, boolean toolbar, Vector helpActions) voidprocessSubHelpSet(HelpSet hs, Hashtable attributes) Called when a sub-HelpSet is found.voidprocessTitle(HelpSet hs, String value) A title is foundvoidprocessView(HelpSet hs, String name, String label, String type, Hashtable viewAttributes, String data, Hashtable dataAttributes, Locale locale) voidreportMessage(String msg, boolean validParse) Reports an error message.
-
Constructor Details
-
DefaultHelpSetFactory
public DefaultHelpSetFactory()
-
-
Method Details
-
parsingStarted
Parsing starts. -
processDOCTYPE
Process a DOCTYPE- Parameters:
publicID- the document. If null or is not valid a parsingError will be generated.
-
processPI
Processes a PI -
processTitle
A title is found -
processHomeID
A HomeID is found. -
processMapRef
process a <mapref>- Parameters:
Spec- to the URLAttributes- for the tag
-
processView
-
processPresentation
-
processSubHelpSet
Called when a sub-HelpSet is found. -
reportMessage
Reports an error message. -
listMessages
Enumerates all the error messages. -
parsingEnded
Parsing has ended. Last chance to do something to the HelpSet.- Parameters:
hs- The HelpSet the parsing ended on. A null hs is valid.
-