org.springframework.hateoas.core
Class EvoInflectorRelProvider
java.lang.Object
org.springframework.hateoas.core.DefaultRelProvider
org.springframework.hateoas.core.EvoInflectorRelProvider
- All Implemented Interfaces:
- RelProvider, org.springframework.plugin.core.Plugin<Class<?>>
public class EvoInflectorRelProvider
- extends DefaultRelProvider
RelProvider implementation using the Evo Inflector implementation of an algorithmic approach to English
plurals.
- Author:
- Oliver Gierke
- See Also:
http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvoInflectorRelProvider
public EvoInflectorRelProvider()
getCollectionResourceRelFor
public String getCollectionResourceRelFor(Class<?> type)
- Description copied from interface:
RelProvider
- Returns the relation type to be used to point to a collection resource of the given type.
- Specified by:
getCollectionResourceRelFor in interface RelProvider- Overrides:
getCollectionResourceRelFor in class DefaultRelProvider
- Parameters:
type - must not be null.
- Returns:
Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.