Package javax.help
Class HelpSet.DefaultHelpSetFactory
- java.lang.Object
-
- javax.help.HelpSet.DefaultHelpSetFactory
-
- Enclosing class:
- HelpSet
public static class HelpSet.DefaultHelpSetFactory extends java.lang.Object
The default HelpSetFactory that processes HelpSets.
-
-
Constructor Summary
Constructors Constructor Description DefaultHelpSetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration
listMessages()
Enumerates all the error messages.HelpSet
parsingEnded(HelpSet hs)
Parsing has ended.void
parsingStarted(java.net.URL source)
Parsing starts.void
processDOCTYPE(java.lang.String root, java.lang.String publicID, java.lang.String systemID)
Process a DOCTYPEvoid
processHomeID(HelpSet hs, java.lang.String value)
A HomeID is found.void
processMapRef(HelpSet hs, java.util.Hashtable attributes)
process a <mapref>void
processPI(HelpSet hs, java.lang.String target, java.lang.String data)
Processes a PIvoid
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)
void
processSubHelpSet(HelpSet hs, java.util.Hashtable attributes)
Called when a sub-HelpSet is found.void
processTitle(HelpSet hs, java.lang.String value)
A title is foundvoid
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)
void
reportMessage(java.lang.String msg, boolean validParse)
Reports an error message.
-
-
-
Method Detail
-
parsingStarted
public void parsingStarted(java.net.URL source)
Parsing starts.
-
processDOCTYPE
public void processDOCTYPE(java.lang.String root, java.lang.String publicID, java.lang.String systemID)
Process a DOCTYPE- 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
-
processTitle
public void processTitle(HelpSet hs, java.lang.String value)
A title is found
-
processHomeID
public void processHomeID(HelpSet hs, java.lang.String value)
A HomeID is found.
-
processMapRef
public void processMapRef(HelpSet hs, java.util.Hashtable attributes)
process a <mapref>- Parameters:
Spec
- to the URLAttributes
- 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)
-
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)
-
processSubHelpSet
public void processSubHelpSet(HelpSet hs, java.util.Hashtable attributes)
Called when a sub-HelpSet is found.
-
reportMessage
public void reportMessage(java.lang.String msg, boolean validParse)
Reports an error message.
-
listMessages
public java.util.Enumeration listMessages()
Enumerates all the error messages.
-
-