Class javax.help.HelpSet.DefaultHelpSetFactory

java.lang.Object
    |
    +----javax.help.HelpSet.DefaultHelpSetFactory

public static class HelpSet.DefaultHelpSetFactory
extends java.lang.Object
implements javax.help.HelpSetFactory
The default HelpSetFactory that processes HelpSets.


HelpSet.DefaultHelpSetFactory

public HelpSet.DefaultHelpSetFactory()

parsingStarted

public void parsingStarted(java.net.URL source)
Parsing starts.
Implements:
parsingStarted in interface javax.help.HelpSetFactory

processDOCTYPE

public void processDOCTYPE(java.lang.String root,
                           java.lang.String publicID,
                           java.lang.String systemID)
Process a DOCTYPE
Implements:
processDOCTYPE in interface javax.help.HelpSetFactory
Parameters:
publicID - the document. If null or is not valid a parsingError will be generated.

processPI

public void processPI(HelpSet hs,
                      java.lang.String target,
                      java.lang.String data)
Processes a PI
Implements:
processPI in interface javax.help.HelpSetFactory

processTitle

public void processTitle(HelpSet hs,
                         java.lang.String value)
A title is found
Implements:
processTitle in interface javax.help.HelpSetFactory

processHomeID

public void processHomeID(HelpSet hs,
                          java.lang.String value)
A HomeID is found.
Implements:
processHomeID in interface javax.help.HelpSetFactory

processMapRef

public void processMapRef(HelpSet hs,
                          java.util.Hashtable attributes)
process a <mapref>
Implements:
processMapRef in interface javax.help.HelpSetFactory
Parameters:
Spec - to the URL
Attributes - for the tag

processView

public void processView(HelpSet hs,
                        java.lang.String name,
                        java.lang.String label,
                        java.lang.String type,
                        java.util.Hashtable viewAttributes,
                        java.lang.String data,
                        java.util.Hashtable dataAttributes,
                        java.util.Locale locale)
Implements:
processView in interface javax.help.HelpSetFactory

processPresentation

public void processPresentation(HelpSet hs,
                                java.lang.String name,
                                boolean defaultPresentation,
                                boolean displayViews,
                                boolean displayViewImages,
                                java.awt.Dimension size,
                                java.awt.Point location,
                                java.lang.String title,
                                java.lang.String imageID,
                                boolean toolbar,
                                java.util.Vector helpActions)
Implements:
processPresentation in interface javax.help.HelpSetFactory

processSubHelpSet

public void processSubHelpSet(HelpSet hs,
                              java.util.Hashtable attributes)
Called when a sub-HelpSet is found.
Implements:
processSubHelpSet in interface javax.help.HelpSetFactory

reportMessage

public void reportMessage(java.lang.String msg,
                          boolean validParse)
Reports an error message.
Implements:
reportMessage in interface javax.help.HelpSetFactory

listMessages

public java.util.Enumeration listMessages()
Enumerates all the error messages.
Implements:
listMessages in interface javax.help.HelpSetFactory

parsingEnded

public HelpSet parsingEnded(HelpSet hs)
Parsing has ended. Last chance to do something to the HelpSet.
Implements:
parsingEnded in interface javax.help.HelpSetFactory
Parameters:
hs - The HelpSet the parsing ended on. A null hs is valid.