T - the type of the resource reference to serializeU - the return type (e.g. a URL, a String, etc)@Role
@Unstable
public interface ResourceReferenceSerializer<T extends ResourceReference,U>
U serialize(T resource) throws SerializeResourceReferenceException, UnsupportedResourceReferenceException
resource - the Resource Reference to transformSerializeResourceReferenceException - if there was an error while serializing the XWiki Resource objectUnsupportedResourceReferenceException - if the passed representation points to an unsupported Resource
Reference type that we don't know how to serializeCopyright © 2004–2017 XWiki. All rights reserved.