public class MockMessageInterpolatorContext
extends java.lang.Object
implements javax.validation.MessageInterpolator.Context
MessageInterpolator.Context
の実装クラス。Constructor and Description |
---|
MockMessageInterpolatorContext(java.util.Map<java.lang.String,java.lang.Object> interpolationMap)
コンストラクタ。
|
Modifier and Type | Method and Description |
---|---|
javax.validation.metadata.ConstraintDescriptor<?> |
getConstraintDescriptor() |
java.lang.Object |
getValidatedValue() |
<T> T |
unwrap(java.lang.Class<T> type) |
public MockMessageInterpolatorContext(java.util.Map<java.lang.String,java.lang.Object> interpolationMap)
interpolationMap
- 補完用属性のマップpublic javax.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()
getConstraintDescriptor
in interface javax.validation.MessageInterpolator.Context
public java.lang.Object getValidatedValue()
getValidatedValue
in interface javax.validation.MessageInterpolator.Context
public <T> T unwrap(java.lang.Class<T> type)
unwrap
in interface javax.validation.MessageInterpolator.Context