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$

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

Method Detail

getParameter

String getParameter(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

String getParameter(String paramName,
                    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

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


Copyright © 2004-2011 XWiki. All Rights Reserved.