Package javax.help

Class FlatMap.FlatMapResourceBundle

java.lang.Object
java.util.ResourceBundle
javax.help.FlatMap.FlatMapResourceBundle
All Implemented Interfaces:
ParserListener, Serializable, EventListener
Enclosing class:
FlatMap

protected class FlatMap.FlatMapResourceBundle extends ResourceBundle implements ParserListener, Serializable
FlatMapResourceBundle is a ResourceBundle but unlike most ResourceBundles it is not locale-based and is loaded via the constructor, not getBundle.
See Also:
  • Constructor Details

    • FlatMapResourceBundle

      public FlatMapResourceBundle(URL url)
      Creates the FlatMap from the data.
  • Method Details

    • handleGetObject

      public final Object handleGetObject(String key)
      Overrides ResourceBundle, same semantics.
      Specified by:
      handleGetObject in class ResourceBundle
    • getKeys

      public Enumeration getKeys()
      Implements ResourceBundle.getKeys.
      Specified by:
      getKeys in class ResourceBundle
    • tagFound

      public void tagFound(ParserEvent e)
      A tag was parsed.
      Specified by:
      tagFound in interface ParserListener
      Parameters:
      e - The event
    • piFound

      public void piFound(ParserEvent e)
      A PI was parsed. This method is not intended to be of general use.
      Specified by:
      piFound in interface ParserListener
      Parameters:
      e - The event
    • doctypeFound

      public void doctypeFound(ParserEvent e)
      A DOCTYPE was parsed. This method is not intended to be of general use.
      Specified by:
      doctypeFound in interface ParserListener
      Parameters:
      e - The event
    • textFound

      public void textFound(ParserEvent e)
      A continous block of text was parsed.
      Specified by:
      textFound in interface ParserListener
      Parameters:
      e - The event
    • commentFound

      public void commentFound(ParserEvent e)
      Description copied from interface: ParserListener
      This tells the listener that a comment was parsed
      Specified by:
      commentFound in interface ParserListener
      Parameters:
      e - The event
    • errorFound

      public void errorFound(ParserEvent e)
      Description copied from interface: ParserListener
      This tells the listener that a error was parsed
      Specified by:
      errorFound in interface ParserListener
      Parameters:
      e - The event
    • reportMessage

      public void reportMessage(String msg, boolean validParse)
      Reports an error message.
    • listMessages

      public Enumeration listMessages()
      Enumerates all the error messages.