org.xwiki.model.internal.reference
Class DefaultEntityReferenceValueProvider

java.lang.Object
  extended by org.xwiki.model.internal.reference.DefaultEntityReferenceValueProvider
All Implemented Interfaces:
EntityReferenceValueProvider

@Component
@Singleton
public class DefaultEntityReferenceValueProvider
extends java.lang.Object
implements EntityReferenceValueProvider

Uses the Entity Reference values defined in the Model Configuration.

Since:
2.3M1
Version:
$Id$
See Also:
DefaultModelConfiguration

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

Constructor Detail

DefaultEntityReferenceValueProvider

public DefaultEntityReferenceValueProvider()
Method Detail

getDefaultValue

public java.lang.String getDefaultValue(EntityType type)

Specified by:
getDefaultValue in interface EntityReferenceValueProvider
Parameters:
type - the entity reference type for which to get the default value
Returns:
the default value for the passed type
See Also:
EntityReferenceValueProvider.getDefaultValue(org.xwiki.model.EntityType)


Copyright © 2004-2011 XWiki. All Rights Reserved.