public class EvoInflectorRelProvider extends DefaultRelProvider
RelProvider
implementation using the Evo Inflector implementation of an algorithmic approach to English
plurals.http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html
Constructor and Description |
---|
EvoInflectorRelProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getCollectionResourceRelFor(Class<?> type)
Returns the relation type to be used to point to a collection resource of the given type.
|
getItemResourceRelFor, supports
public String getCollectionResourceRelFor(Class<?> type)
RelProvider
getCollectionResourceRelFor
in interface RelProvider
getCollectionResourceRelFor
in class DefaultRelProvider
type
- must not be null.Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.