org.xwiki.model.reference
Interface EntityReferenceSerializer<T>

Type Parameters:
T - the type of the new representation

@ComponentRole
public interface EntityReferenceSerializer<T>

Generate a different representation of an Entity Reference (eg as a String).

Since:
2.2M1
Version:
$Id$

Method Summary
 T serialize(EntityReference reference, Object... parameters)
          Serialize an entity reference into a new representation of type .
 

Method Detail

serialize

T serialize(EntityReference reference,
            Object... parameters)
Serialize an entity reference into a new representation of type .

Parameters:
reference - the reference to serialize
parameters - optional parameters. Their meaning depends on the serializer implementation
Returns:
the new representation (eg as a String)


Copyright © 2004-2011 XWiki. All Rights Reserved.