|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents all items within Jetspeed that hold configuration information.
Method Summary | |
void |
addEntry(RegistryEntry entry)
Add the given entry to the registry with the given name. |
RegistryEntry |
createEntry()
Creates a new RegistryEntry instance compatible with the current Registry instance implementation |
java.util.Enumeration |
getEntries()
Get all entries within this Registry |
RegistryEntry |
getEntry(java.lang.String name)
Get the entry in the registry with the specified name |
int |
getEntryCount()
Get the number of entries within the Registry. |
boolean |
hasEntry(java.lang.String name)
Tests if an entry with the specified name exists within the Registry |
java.util.Iterator |
listEntryNames()
List all the entry names within this Registry |
void |
removeEntry(RegistryEntry entry)
Removes the given entry from the Registry |
void |
removeEntry(java.lang.String name)
Removes the given entry from the Registry |
void |
setEntry(RegistryEntry entry)
Set the entry in the registry with the specified name and Entry |
RegistryEntry[] |
toArray()
Get all entries within this Registry as an array |
Method Detail |
public int getEntryCount()
public RegistryEntry createEntry()
public RegistryEntry getEntry(java.lang.String name) throws RegistryException
RegistryException
- if the given 'name' does not exist within the
Registrypublic void setEntry(RegistryEntry entry) throws RegistryException
RegistryException
- if the given 'name' does not exist within the
Registrypublic void addEntry(RegistryEntry entry) throws RegistryException
RegistryException
- if the given 'name' already exists within the
Registrypublic boolean hasEntry(java.lang.String name)
name
- the name of the entry that we are looking for
public void removeEntry(RegistryEntry entry)
entry
- the RegistryEntry to removepublic void removeEntry(java.lang.String name)
name
- the name of the entry to remove from the Registrypublic java.util.Enumeration getEntries()
public java.util.Iterator listEntryNames()
public RegistryEntry[] toArray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |