javax.help

Class FlatMap.FlatMapResourceBundle

Enclosing Class:
FlatMap
Implemented Interfaces:
java.util.EventListener, ParserListener, Serializable

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.

Constructor Summary

FlatMapResourceBundle(URL url)
Creates the FlatMap from the data.

Method Summary

void
commentFound(ParserEvent e)
This tells the listener that a comment was parsed
void
doctypeFound(ParserEvent e)
A DOCTYPE was parsed.
void
errorFound(ParserEvent e)
This tells the listener that a error was parsed
Enumeration
getKeys()
Implements ResourceBundle.getKeys.
Object
handleGetObject(String key)
Overrides ResourceBundle, same semantics.
Enumeration
listMessages()
Enumerates all the error messages.
void
piFound(ParserEvent e)
A PI was parsed.
void
reportMessage(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.

Constructor Details

FlatMapResourceBundle

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

Method Details

commentFound

public void commentFound(ParserEvent e)
This tells the listener that a comment was parsed
Specified by:
commentFound 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

errorFound

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

getKeys

public Enumeration getKeys()
Implements ResourceBundle.getKeys.

handleGetObject

public final Object handleGetObject(String key)
Overrides ResourceBundle, same semantics.

listMessages

public Enumeration listMessages()
Enumerates all the error messages.

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

reportMessage

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

tagFound

public void tagFound(ParserEvent e)
A tag was parsed.
Specified by:
tagFound in interface ParserListener

textFound

public void textFound(ParserEvent e)
A continous block of text was parsed.
Specified by:
textFound in interface ParserListener