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.void
parsingStarted
(URL source) Parsing starts.void
processDOCTYPE
(String root, String publicID, String systemID) Process a DOCTYPEvoid
processHomeID
(HelpSet hs, String value) A HomeID is found.void
processMapRef
(HelpSet hs, Hashtable attributes) process a <mapref>void
Processes a PIvoid
processPresentation
(HelpSet hs, String name, boolean defaultPresentation, boolean displayViews, boolean displayViewImages, Dimension size, Point location, String title, String imageID, boolean toolbar, Vector helpActions) void
processSubHelpSet
(HelpSet hs, Hashtable attributes) Called when a sub-HelpSet is found.void
processTitle
(HelpSet hs, String value) A title is foundvoid
processView
(HelpSet hs, String name, String label, String type, Hashtable viewAttributes, String data, Hashtable dataAttributes, Locale locale) void
reportMessage
(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.
-