1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.registry;
1819import java.util.Iterator;
20import java.util.Map;
2122/***23 * The SkinEntry defines the properties used for storing a Skin description in24 * the registry25 * 26 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>27 * @version $Id: SkinEntry.java,v 1.2 2004/02/23 03:11:39 jford Exp $28 */29publicinterfaceSkinEntryextendsRegistryEntry30 {
3132/*** @return an enumeration of this entry parameter names */33public Iterator getParameterNames();
3435/*** Returns a map of parameter values keyed on the parameter names 36 * @return the parameter values map37 */38public Map getParameterMap();
3940/*** Search for a named parameter and return the associated41 * parameter object. The search is case sensitive.42 *43 * @return the parameter object for a given parameter name44 * @param name the parameter name to look for45 */46publicParameter getParameter( String name );
4748/*** Adds a new parameter for this entry49 * @param name the new parameter name50 * @param value the new parameter value51 */52publicvoid addParameter( String name, String value );
5354/*** Adds a new parameter for this entry55 * @param parameter the new parameter to add56 */57publicvoid addParameter( Parameter parameter );
5859/*** Removes all parameter values associated with the60 * name61 *62 * @param name the parameter name to remove63 */64publicvoid removeParameter( String name );
6566 }