org.xwiki.model.reference
Interface DocumentReferenceResolver<T>
- Type Parameters:
T - the type of the representation (eg a String)
@ComponentRole
public interface DocumentReferenceResolver<T>
Resolve a Document reference defined in a given representation into a validated DocumentReference object,
ie with valid values and a valid hierarchy (eg a Document reference must have a parent which is a space reference,
reference values must not be null, etc).
- Since:
- 2.2M1
- Version:
- $Id$
resolve
DocumentReference resolve(T documentReferenceRepresentation,
Object... parameters)
- 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
Copyright © 2004-2011 XWiki. All Rights Reserved.