org.exoplatform.wiki.rendering.impl
Class DefaultConfigurationSource

java.lang.Object
  extended by org.exoplatform.wiki.rendering.impl.DefaultConfigurationSource
All Implemented Interfaces:
org.xwiki.configuration.ConfigurationSource

public class DefaultConfigurationSource
extends Object
implements org.xwiki.configuration.ConfigurationSource


Constructor Summary
DefaultConfigurationSource()
           
 
Method Summary
 boolean containsKey(String key)
           
 List<String> getKeys()
           
<T> T
getProperty(String key)
           
<T> T
getProperty(String key, Class<T> valueClass)
           
<T> T
getProperty(String key, T defaultValue)
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfigurationSource

public DefaultConfigurationSource()
Method Detail

getProperty

public <T> T getProperty(String key,
                         T defaultValue)
Specified by:
getProperty in interface org.xwiki.configuration.ConfigurationSource

getProperty

public <T> T getProperty(String key,
                         Class<T> valueClass)
Specified by:
getProperty in interface org.xwiki.configuration.ConfigurationSource

getProperty

public <T> T getProperty(String key)
Specified by:
getProperty in interface org.xwiki.configuration.ConfigurationSource

getKeys

public List<String> getKeys()
Specified by:
getKeys in interface org.xwiki.configuration.ConfigurationSource

containsKey

public boolean containsKey(String key)
Specified by:
containsKey in interface org.xwiki.configuration.ConfigurationSource

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface org.xwiki.configuration.ConfigurationSource


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.