The default HelpSetFactory that processes HelpSets.
listMessages
public Enumeration listMessages()
Enumerates all the error messages.
- listMessages in interface javax.help.HelpSetFactory
parsingEnded
public HelpSet parsingEnded(HelpSet hs)
Parsing has ended. Last chance to do something
to the HelpSet.
- parsingEnded in interface javax.help.HelpSetFactory
hs
- The HelpSet the parsing ended on. A null hs is valid.
parsingStarted
public void parsingStarted(URL source)
Parsing starts.
- parsingStarted in interface javax.help.HelpSetFactory
processDOCTYPE
public void processDOCTYPE(String root,
String publicID,
String systemID)
Process a DOCTYPE
- processDOCTYPE in interface javax.help.HelpSetFactory
publicID
- the document. If null or is not valid a parsingError
will be generated.
processHomeID
public void processHomeID(HelpSet hs,
String value)
A HomeID is found.
- processHomeID in interface javax.help.HelpSetFactory
processMapRef
public void processMapRef(HelpSet hs,
Hashtable attributes)
process a <mapref>
- processMapRef in interface javax.help.HelpSetFactory
processPI
public void processPI(HelpSet hs,
String target,
String data)
Processes a PI
- processPI in interface javax.help.HelpSetFactory
processPresentation
public void processPresentation(HelpSet hs,
String name,
boolean defaultPresentation,
boolean displayViews,
boolean displayViewImages,
Dimension size,
Point location,
String title,
String imageID,
boolean toolbar,
Vector helpActions)
- processPresentation in interface javax.help.HelpSetFactory
processSubHelpSet
public void processSubHelpSet(HelpSet hs,
Hashtable attributes)
Called when a sub-HelpSet is found.
- processSubHelpSet in interface javax.help.HelpSetFactory
processTitle
public void processTitle(HelpSet hs,
String value)
A title is found
- processTitle in interface javax.help.HelpSetFactory
processView
public void processView(HelpSet hs,
String name,
String label,
String type,
Hashtable viewAttributes,
String data,
Hashtable dataAttributes,
Locale locale)
- processView in interface javax.help.HelpSetFactory
reportMessage
public void reportMessage(String msg,
boolean validParse)
Reports an error message.
- reportMessage in interface javax.help.HelpSetFactory