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: 5d21f7bae1cd68c16b8325ffd72ab10a1f721c09 $
    • Method Detail

      • serialize

        String serialize​(EntityReference reference)
        Parameters:
        reference - the reference to serialize
        Returns:
        the resulted representation as a string