org.skyscreamer.yoga.listener
Class UriGenerator
java.lang.Object
org.skyscreamer.yoga.listener.UriGenerator
public class UriGenerator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriGenerator
public UriGenerator()
UriGenerator
public UriGenerator(EntityConfigurationRegistry _entityConfigurationRegistry)
setEntityConfigurationRegistry
public void setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry)
getUrl
public <T> String getUrl(RenderingEvent<T> event,
String suffix)
throws IOException
- Throws:
IOException
determineTemplate
public String determineTemplate(Class<?> instanceType)
determineTemplateForUnknownType
protected String determineTemplateForUnknownType(Class<?> instanceType)
- override this if you want custom behavior
getUrl
public <T> String getUrl(String uriTemplate,
String suffix,
RenderingEvent<T> event)
getUrlVal
protected <T> String getUrlVal(String uriTemplate,
String suffix,
RenderingEvent<T> event)
Copyright © 2013. All Rights Reserved.