public abstract class AbstractMessageResolver extends Object implements IMessageResolver
Base abstract implementation for message resolvers implementing the
IMessageResolver
interface.
Modifier | Constructor and Description |
---|---|
protected |
AbstractMessageResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the message resolver.
|
Integer |
getOrder()
Return the order in which this message resolver will be executed in the
chain when several message resolvers are set for the same Template Engine.
|
void |
setName(String name)
Sets a name for this message resolver.
|
void |
setOrder(Integer order)
Sets a new order for the message resolver.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsentMessageRepresentation, resolveMessage
public final String getName()
IMessageResolver
Returns the name of the message resolver.
getName
in interface IMessageResolver
public void setName(String name)
Sets a name for this message resolver.
name
- the new namepublic final Integer getOrder()
IMessageResolver
Return the order in which this message resolver will be executed in the chain when several message resolvers are set for the same Template Engine.
getOrder
in interface IMessageResolver
public void setOrder(Integer order)
Sets a new order for the message resolver.
order
- the new orderCopyright © 2016 The THYMELEAF team. All rights reserved.