@groovy.transform.CompileStatic abstract class AbstractVndErrorRenderer extends java.lang.Object implements ContainerRenderer<org.springframework.validation.Errors, java.lang.Object>
Abstract super type for Vnd.Error renderers
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
HREF_ATTRIBUTE |
|
static java.lang.String |
LOGREF_ATTRIBUTE |
|
static java.lang.String |
MESSAGE_ATTRIBUTE |
|
static java.lang.String |
PATH_ATTRIBUTE |
|
static java.lang.String |
RESOURCE_ATTRIBUTE |
|
private boolean |
absoluteLinks |
|
private java.lang.String |
encoding |
|
private LinkGenerator |
linkGenerator |
|
private org.springframework.context.MessageSource |
messageSource |
|
private boolean |
prettyPrint |
Type | Name and description |
---|---|
boolean |
absoluteLinks |
java.lang.String |
encoding |
LinkGenerator |
linkGenerator |
org.springframework.context.MessageSource |
messageSource |
boolean |
prettyPrint |
Constructor and description |
---|
AbstractVndErrorRenderer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Class<java.lang.Object> |
getComponentType() |
|
protected java.lang.Object |
getObjectId(java.lang.Object target) |
|
java.lang.Class<org.springframework.validation.Errors> |
getTargetType() |
|
protected java.lang.String |
resolveLogRef(java.lang.Object target, org.springframework.validation.ObjectError oe) Resolve the 'logref' attribute for the error |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Resolve the 'logref' attribute for the error
target
- The target object that caused the erroroe
- The ObjectError instanceGroovy Documentation