org.xwiki.annotation.reference
Interface TypedStringEntityReferenceSerializer
@Role
public interface TypedStringEntityReferenceSerializer
Typed flavour of the EntityReferenceSerializer<String>, which adds the type in front of it in the
string serialization (e.g. DOCUMENT://wiki:Space.Page).
Note that, although it performs the roughly the same function as the entity reference serializer this is a different
hierarchy because it's a different strategy and to make it obvious that typed serializers and resolvers should be
used together.
- Since:
- 2.3M1
- Version:
- $Id: acc8b736b038f537e008d3a990682b0017f3c02d $
serialize
String serialize(EntityReference reference)
- Parameters:
reference - the reference to serialize
- Returns:
- the resulted representation as a string
Copyright © 2004-2013 XWiki. All Rights Reserved.