org.xwiki.resource
Interface ResourceSerializer<T>

Type Parameters:
T - the output type

@Role
@Unstable
public interface ResourceSerializer<T>

Transforms a XWiki Resource instance into some other representation.

Since:
5.3M1
Version:
$Id: 6d915fa531e6b194fec8214c6703fd5841c68aaa $

Method Summary
 T serialize(Resource resource)
          Transforms a XWiki Resource instance into some other representation.
 

Method Detail

serialize

T serialize(Resource resource)
Transforms a XWiki Resource instance into some other representation.

Parameters:
resource - the XWiki Resource to transform
Returns:
the new representation


Copyright © 2004–2014 XWiki. All rights reserved.