@Role
public interface TypedStringEntityReferenceResolver
type://
and, if no such type specification is found, it uses the default passed
type. DOCUMENT://XWiki.TagClass[0]#tags
will result in parsing XWiki.TagClass[0]#tags
as a document reference, while {OBJECT_PROPERTY://XWiki.TagClass[0]#tags} will result in
parsing XWiki.TagClass[0]#tags
as an object property reference.Modifier and Type | Method and Description |
---|---|
EntityReference |
resolve(String entityReferenceRepresentation,
EntityType type) |
EntityReference resolve(String entityReferenceRepresentation, EntityType type)
entityReferenceRepresentation
- representation of the entity, with or without a type (e.g. DOCUMENT://wiki:Space.Page
or wiki:Space.WebHome
)type
- the default type to be used if none is specified in the serializationCopyright © 2004–2021 XWiki. All rights reserved.