org.xwiki.model.internal.reference
Class ExplicitReferenceDocumentReferenceResolver

java.lang.Object
  extended by org.xwiki.model.internal.reference.ExplicitReferenceDocumentReferenceResolver
All Implemented Interfaces:
DocumentReferenceResolver<EntityReference>

@Component
@Named(value="explicit/reference")
@Singleton
public class ExplicitReferenceDocumentReferenceResolver
extends java.lang.Object
implements DocumentReferenceResolver<EntityReference>

Specialized version of EntityReferenceResolver which can be considered a helper component to resolve DocumentReference objects from their string representation. The behavior is the one defined in ExplicitStringEntityReferenceResolver.

Since:
2.2.3
Version:
$Id$

Constructor Summary
ExplicitReferenceDocumentReferenceResolver()
           
 
Method Summary
 DocumentReference resolve(EntityReference documentReferenceRepresentation, java.lang.Object... parameters)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplicitReferenceDocumentReferenceResolver

public ExplicitReferenceDocumentReferenceResolver()
Method Detail

resolve

public DocumentReference resolve(EntityReference documentReferenceRepresentation,
                                 java.lang.Object... parameters)

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
See Also:
DocumentReferenceResolver.resolve(T, java.lang.Object...)


Copyright © 2004-2011 XWiki. All Rights Reserved.