org.xwiki.model.internal
Class DefaultModelConfiguration

java.lang.Object
  extended by org.xwiki.model.internal.DefaultModelConfiguration
All Implemented Interfaces:
ModelConfiguration

@Component
public class DefaultModelConfiguration
extends java.lang.Object
implements ModelConfiguration

Get configuration data from the XWiki configuration using a ConfigurationSource. If no ConfigurationSource component is found in the system then default to default values:

Since:
2.2M1
Version:
$Id$

Constructor Summary
DefaultModelConfiguration()
           
 
Method Summary
 java.lang.String getDefaultReferenceValue(EntityType type)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelConfiguration

public DefaultModelConfiguration()
Method Detail

getDefaultReferenceValue

public java.lang.String getDefaultReferenceValue(EntityType type)

Specified by:
getDefaultReferenceValue in interface ModelConfiguration
Parameters:
type - the type for which to return the default value
Returns:
the default value to use when a reference doesn't have the passed type specified
See Also:
ModelConfiguration.getDefaultReferenceValue(org.xwiki.model.EntityType)


Copyright © 2004-2011 XWiki. All Rights Reserved.