com.xpn.xwiki.internal.model.reference
Class DeprecatedCurrentMixedReferenceDocumentReferenceResolver2

java.lang.Object
  extended by com.xpn.xwiki.internal.model.reference.DeprecatedCurrentMixedReferenceDocumentReferenceResolver2
All Implemented Interfaces:
DocumentReferenceResolver<EntityReference>

Deprecated. use CompactWikiStringEntityReferenceSerializer instead.

@Component
@Named(value="currentmixed/reference")
@Singleton
@Deprecated
public class DeprecatedCurrentMixedReferenceDocumentReferenceResolver2
extends Object
implements DocumentReferenceResolver<EntityReference>

Same as CompactWikiStringEntityReferenceSerializer but with the extended type in both the role hint and the role type.

Since:
2.3M1

Field Summary
 
Fields inherited from interface org.xwiki.model.reference.DocumentReferenceResolver
TYPE_REFERENCE, TYPE_STRING
 
Constructor Summary
DeprecatedCurrentMixedReferenceDocumentReferenceResolver2()
          Deprecated.  
 
Method Summary
 DocumentReference resolve(EntityReference documentReferenceRepresentation, Object... parameters)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeprecatedCurrentMixedReferenceDocumentReferenceResolver2

public DeprecatedCurrentMixedReferenceDocumentReferenceResolver2()
Deprecated. 
Method Detail

resolve

public DocumentReference resolve(EntityReference documentReferenceRepresentation,
                                 Object... parameters)
Deprecated. 
Specified by:
resolve in interface DocumentReferenceResolver<EntityReference>
Parameters:
documentReferenceRepresentation - the representation of a document reference (eg as a String)
parameters - optional parameters. Their meaning depends on the resolver implementation
Returns:
the valid resolved document reference as an Object