org.apache.jetspeed.om.registry
Interface SkinEntry

All Superinterfaces:
RegistryEntry
All Known Implementing Classes:
BaseSkinEntry

public interface SkinEntry
extends RegistryEntry

The SkinEntry defines the properties used for storing a Skin description in the registry

Version:
$Id: SkinEntry.java,v 1.3 2005/03/21 18:21:37 sgala Exp $
Author:
Raphaël Luta

Method Summary
 void addParameter(Parameter parameter)
          Adds a new parameter for this entry
 void addParameter(java.lang.String name, java.lang.String value)
          Adds a new parameter for this entry
 Parameter getParameter(java.lang.String name)
          Search for a named parameter and return the associated parameter object.
 java.util.Map getParameterMap()
          Returns a map of parameter values keyed on the parameter names
 java.util.Iterator getParameterNames()
           
 void removeParameter(java.lang.String name)
          Removes all parameter values associated with the name
 
Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle
 

Method Detail

getParameterNames

public java.util.Iterator getParameterNames()
Returns:
an enumeration of this entry parameter names

getParameterMap

public java.util.Map getParameterMap()
Returns a map of parameter values keyed on the parameter names

Returns:
the parameter values map

getParameter

public Parameter getParameter(java.lang.String name)
Search for a named parameter and return the associated parameter object. The search is case sensitive.

Parameters:
name - the parameter name to look for
Returns:
the parameter object for a given parameter name

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String value)
Adds a new parameter for this entry

Parameters:
name - the new parameter name
value - the new parameter value

addParameter

public void addParameter(Parameter parameter)
Adds a new parameter for this entry

Parameters:
parameter - the new parameter to add

removeParameter

public void removeParameter(java.lang.String name)
Removes all parameter values associated with the name

Parameters:
name - the parameter name to remove


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.