Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.castor
Class Messages.EmptyResourceBundle  view Messages.EmptyResourceBundle download Messages.EmptyResourceBundle.java

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byorg.jdbf.castor.Messages.EmptyResourceBundle
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
Messages

static class Messages.EmptyResourceBundle
extends java.util.ResourceBundle
implements java.util.Enumeration


Nested Class Summary
 
Nested classes inherited from class java.util.ResourceBundle
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
(package private) Messages.EmptyResourceBundle()
           
 
Method Summary
 java.util.Enumeration getKeys()
          This method should return all keys for which a resource exists; you should include the enumeration of any parent's keys, after filtering out duplicates.
protected  java.lang.Object handleGetObject(java.lang.String name)
          Override this method to provide the resource for a keys.
 boolean hasMoreElements()
          Tests whether there are elements remaining in the enumeration.
 java.lang.Object nextElement()
          Obtain the next element in the enumeration.
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages.EmptyResourceBundle

Messages.EmptyResourceBundle()
Method Detail

getKeys

public java.util.Enumeration getKeys()
Description copied from class: java.util.ResourceBundle
This method should return all keys for which a resource exists; you should include the enumeration of any parent's keys, after filtering out duplicates.


handleGetObject

protected java.lang.Object handleGetObject(java.lang.String name)
Description copied from class: java.util.ResourceBundle
Override this method to provide the resource for a keys. This gets called by getObject. If you don't have a resource for the given key, you should return null instead throwing a MissingResourceException. You don't have to ask the parent, getObject() already does this; nor should you throw a MissingResourceException.


hasMoreElements

public boolean hasMoreElements()
Description copied from interface: java.util.Enumeration
Tests whether there are elements remaining in the enumeration.

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Description copied from interface: java.util.Enumeration
Obtain the next element in the enumeration.

Specified by:
nextElement in interface java.util.Enumeration