Package javax.help
Class FlatMap.FlatMapResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- javax.help.FlatMap.FlatMapResourceBundle
-
- All Implemented Interfaces:
ParserListener
,java.io.Serializable
,java.util.EventListener
- Enclosing class:
- FlatMap
protected class FlatMap.FlatMapResourceBundle extends java.util.ResourceBundle implements ParserListener, java.io.Serializable
FlatMapResourceBundle is a ResourceBundle but unlike most ResourceBundles it is not locale-based and is loaded via the constructor, not getBundle.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlatMapResourceBundle(java.net.URL url)
Creates the FlatMap from the data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commentFound(ParserEvent e)
This tells the listener that a comment was parsedvoid
doctypeFound(ParserEvent e)
A DOCTYPE was parsed.void
errorFound(ParserEvent e)
This tells the listener that a error was parsedjava.util.Enumeration
getKeys()
Implements ResourceBundle.getKeys.java.lang.Object
handleGetObject(java.lang.String key)
Overrides ResourceBundle, same semantics.java.util.Enumeration
listMessages()
Enumerates all the error messages.void
piFound(ParserEvent e)
A PI was parsed.void
reportMessage(java.lang.String msg, boolean validParse)
Reports an error message.void
tagFound(ParserEvent e)
A tag was parsed.void
textFound(ParserEvent e)
A continous block of text was parsed.
-
-
-
Method Detail
-
handleGetObject
public final java.lang.Object handleGetObject(java.lang.String key)
Overrides ResourceBundle, same semantics.- Specified by:
handleGetObject
in classjava.util.ResourceBundle
-
getKeys
public java.util.Enumeration getKeys()
Implements ResourceBundle.getKeys.- Specified by:
getKeys
in classjava.util.ResourceBundle
-
tagFound
public void tagFound(ParserEvent e)
A tag was parsed.- Specified by:
tagFound
in interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- Parameters:
e
- The event
-
textFound
public void textFound(ParserEvent e)
A continous block of text was parsed.- Specified by:
textFound
in interfaceParserListener
- 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 interfaceParserListener
- 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 interfaceParserListener
- Parameters:
e
- The event
-
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.
-
-