org.xwiki.gwt.user.client
Interface Config

All Known Implementing Classes:
HiddenConfig

public interface Config

Interface for retrieving the configuration parameters of the WYSIWYG editor.

Version:
$Id: Config.java 24888 2009-11-06 02:16:19Z sdumitriu $

Method Summary
 java.lang.String getParameter(java.lang.String paramName)
          Returns the value of the specified parameter, defaulting to null if the parameter doesn't exist.
 java.lang.String getParameter(java.lang.String paramName, java.lang.String defaultValue)
          Returns the value of the specified parameter, defaulting to the given value if the parameter doesn't exist.
 java.util.Set<java.lang.String> getParameterNames()
           
 

Method Detail

getParameter

java.lang.String getParameter(java.lang.String paramName)
Returns the value of the specified parameter, defaulting to null if the parameter doesn't exist.

Parameters:
paramName - The name of the parameter.
Returns:
The value of the given parameter or null if there's no such parameter.

getParameter

java.lang.String getParameter(java.lang.String paramName,
                              java.lang.String defaultValue)
Returns the value of the specified parameter, defaulting to the given value if the parameter doesn't exist.

Parameters:
paramName - The name of the parameter.
defaultValue - The default value if the parameter doesn't exist.
Returns:
The value of the given parameter or the specified default value if there's no such parameter.

getParameterNames

java.util.Set<java.lang.String> getParameterNames()
Returns:
The set of all the parameter names.


Copyright © 2004-2010 XWiki. All Rights Reserved.