public class EvoInflectorLinkRelationProvider extends DefaultLinkRelationProvider
LinkRelationProvider
implementation using the Evo Inflector implementation of an algorithmic approach to
English plurals.http://users.monash.edu/~damian/papers/HTML/Plurals.html
LinkRelationProvider.LookupContext
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
EvoInflectorLinkRelationProvider() |
Modifier and Type | Method and Description |
---|---|
LinkRelation |
getCollectionResourceRelFor(Class<?> type)
Returns the relation type to be used to point to a collection resource of the given type.
|
getItemResourceRelFor, getOrder, supports
public LinkRelation getCollectionResourceRelFor(Class<?> type)
LinkRelationProvider
getCollectionResourceRelFor
in interface LinkRelationProvider
getCollectionResourceRelFor
in class DefaultLinkRelationProvider
type
- must not be null.Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.