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.htmlLinkRelationProvider.LookupContextHIGHEST_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, supportspublic LinkRelation getCollectionResourceRelFor(Class<?> type)
LinkRelationProvidergetCollectionResourceRelFor in interface LinkRelationProvidergetCollectionResourceRelFor in class DefaultLinkRelationProvidertype - must not be null.Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.