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 voidcommentFound(ParserEvent e)This tells the listener that a comment was parsedvoiddoctypeFound(ParserEvent e)A DOCTYPE was parsed.voiderrorFound(ParserEvent e)This tells the listener that a error was parsedjava.util.EnumerationgetKeys()Implements ResourceBundle.getKeys.java.lang.ObjecthandleGetObject(java.lang.String key)Overrides ResourceBundle, same semantics.java.util.EnumerationlistMessages()Enumerates all the error messages.voidpiFound(ParserEvent e)A PI was parsed.voidreportMessage(java.lang.String msg, boolean validParse)Reports an error message.voidtagFound(ParserEvent e)A tag was parsed.voidtextFound(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:
handleGetObjectin classjava.util.ResourceBundle
-
getKeys
public java.util.Enumeration getKeys()
Implements ResourceBundle.getKeys.- Specified by:
getKeysin classjava.util.ResourceBundle
-
tagFound
public void tagFound(ParserEvent e)
A tag was parsed.- Specified by:
tagFoundin 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:
piFoundin 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:
doctypeFoundin interfaceParserListener- Parameters:
e- The event
-
textFound
public void textFound(ParserEvent e)
A continous block of text was parsed.- Specified by:
textFoundin interfaceParserListener- Parameters:
e- The event
-
commentFound
public void commentFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a comment was parsed- Specified by:
commentFoundin interfaceParserListener- Parameters:
e- The event
-
errorFound
public void errorFound(ParserEvent e)
Description copied from interface:ParserListenerThis tells the listener that a error was parsed- Specified by:
errorFoundin 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.
-
-