T - the type of the new representation@Role
public interface EntityReferenceSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
static ParameterizedType |
TYPE_REFERENCE
Type instance for EntityReferenceResolver
|
static ParameterizedType |
TYPE_STRING
Type instance for EntityReferenceResolver
|
| Modifier and Type | Method and Description |
|---|---|
T |
serialize(EntityReference reference,
Object... parameters)
Serialize an entity reference into a new representation of type
|
static final ParameterizedType TYPE_STRING
static final ParameterizedType TYPE_REFERENCE
T serialize(EntityReference reference, Object... parameters)
reference - the reference to serializeparameters - optional parameters. Their meaning depends on the serializer implementationCopyright © 2004–2016 XWiki. All rights reserved.