org.xwiki.model.internal.reference
Class DeprecatedDefaultStringObjectReferenceResolver

java.lang.Object
  extended by org.xwiki.model.internal.reference.DeprecatedDefaultStringObjectReferenceResolver
All Implemented Interfaces:
ObjectReferenceResolver

Deprecated. use DefaultStringObjectReferenceResolver instead.

@Component
@Singleton
@Deprecated
public class DeprecatedDefaultStringObjectReferenceResolver
extends Object
implements ObjectReferenceResolver

Same as DefaultStringObjectReferenceResolver but with the extended type in the role hint instead of the role type.

Since:
2.3M1

Field Summary
 
Fields inherited from interface org.xwiki.model.reference.ObjectReferenceResolver
TYPE_REFERENCE, TYPE_STRING
 
Constructor Summary
DeprecatedDefaultStringObjectReferenceResolver()
          Deprecated.  
 
Method Summary
 ObjectReference resolve(Object objectReferenceRepresentation)
          Deprecated.  
 ObjectReference resolve(Object objectReferenceRepresentation, Object... parameters)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeprecatedDefaultStringObjectReferenceResolver

public DeprecatedDefaultStringObjectReferenceResolver()
Deprecated. 
Method Detail

resolve

public ObjectReference resolve(Object objectReferenceRepresentation)
Deprecated. 
Specified by:
resolve in interface ObjectReferenceResolver
Parameters:
objectReferenceRepresentation - the representation of an object reference (e.g. as a String)
Returns:
the valid resolved object reference as an object

resolve

public ObjectReference resolve(Object objectReferenceRepresentation,
                               Object... parameters)
Deprecated. 
Specified by:
resolve in interface ObjectReferenceResolver
Parameters:
objectReferenceRepresentation - the representation of an object reference (e.g. as a String)
parameters - optional parameters. Their meaning depends on the resolver implementation
Returns:
the valid resolved object reference as an object