|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.server.Parameterized
Title: Parameterized.java
Description: Abstract superclass of all Fedora components that can be configured by a set of name-value pairs.
-----------------------------------------------------------------------------License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Constructor Summary | |
Parameterized()
Creates a Parameterized with no parameters. |
|
Parameterized(java.util.Map parameters)
Creates a Parameterized with name-value pairs from the supplied Map. |
|
| Method Summary | |
java.lang.String |
getParameter(java.lang.String name)
Gets the value of a named configuration parameter. |
java.util.Map |
getParameters()
|
java.util.Iterator |
parameterNames()
Gets an Iterator over the names of parameters for this component. |
protected void |
setParameter(java.lang.String name,
java.lang.String value)
|
protected void |
setParameters(java.util.Map parameters)
Sets the parameters with name-value pairs from the supplied Map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parameterized()
public Parameterized(java.util.Map parameters)
parameters - The map from which to derive the name-value pairs.| Method Detail |
protected final void setParameters(java.util.Map parameters)
parameters - The map from which to derive the name-value pairs.public final java.lang.String getParameter(java.lang.String name)
name - The parameter name.
protected final void setParameter(java.lang.String name,
java.lang.String value)
public java.util.Map getParameters()
public final java.util.Iterator parameterNames()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||