org.apache.commons.configuration
Class NonCloneableConfiguration

java.lang.Object
  extended by org.apache.commons.configuration.event.EventSource
      extended by org.apache.commons.configuration.AbstractConfiguration
          extended by org.apache.commons.configuration.NonCloneableConfiguration
All Implemented Interfaces:
Configuration

public class NonCloneableConfiguration
extends AbstractConfiguration

A specialized configuration implementation that does not support cloning. This class is only used in some test cases for testing implementations of clone() methods. It does not make much sense otherwise; all methods are just dummies.

Version:
$Id: NonCloneableConfiguration.java 1222456 2011-12-22 21:11:39Z oheger $

Field Summary
 
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN
 
Constructor Summary
NonCloneableConfiguration()
           
 
Method Summary
protected  void addPropertyDirect(String key, Object value)
          Dummy implementation of this method.
 boolean containsKey(String key)
          Dummy implementation of this method.
 Iterator<String> getKeys()
          Dummy implementation of this method.
 Object getProperty(String key)
          Dummy implementation of this method.
 boolean isEmpty()
          Dummy implementation of this method.
 
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addErrorLogListener, addProperty, append, clear, clearProperty, clearPropertyDirect, copy, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isScalarValue, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setProperty, setThrowExceptionOnMissing, subset
 
Methods inherited from class org.apache.commons.configuration.event.EventSource
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, clone, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonCloneableConfiguration

public NonCloneableConfiguration()
Method Detail

addPropertyDirect

protected void addPropertyDirect(String key,
                                 Object value)
Dummy implementation of this method.

Specified by:
addPropertyDirect in class AbstractConfiguration

isEmpty

public boolean isEmpty()
Dummy implementation of this method.


containsKey

public boolean containsKey(String key)
Dummy implementation of this method.


getKeys

public Iterator<String> getKeys()
Dummy implementation of this method.


getProperty

public Object getProperty(String key)
Dummy implementation of this method.



Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.