net.sf.sido.spring.mvc
Class DOObjectArgumentResolver
java.lang.Object
net.sf.sido.spring.mvc.AbstractSiDOArgumentResolver
net.sf.sido.spring.mvc.DOObjectArgumentResolver
- All Implemented Interfaces:
- org.springframework.web.bind.support.WebArgumentResolver
public class DOObjectArgumentResolver
- extends AbstractSiDOArgumentResolver
| Fields inherited from interface org.springframework.web.bind.support.WebArgumentResolver |
UNRESOLVED |
|
Method Summary |
protected void |
check(DataObject o,
org.springframework.core.MethodParameter methodParameter)
Always validate the parameter |
protected DataFactory |
getDataFactory()
|
protected String |
getExpectedDataTypeName(org.springframework.core.MethodParameter methodParameter,
org.springframework.web.context.request.NativeWebRequest webRequest,
boolean typeRequired)
|
protected void |
init(DataObject o,
org.springframework.core.MethodParameter methodParameter)
No initialisation, only validation |
protected boolean |
supportsParameterType(Class<?> parameterType)
|
protected Object |
transform(DataObject dataObject,
org.springframework.core.MethodParameter methodParameter,
org.springframework.web.context.request.NativeWebRequest webRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOObjectArgumentResolver
public DOObjectArgumentResolver()
check
protected void check(DataObject o,
org.springframework.core.MethodParameter methodParameter)
- Always validate the parameter
- Specified by:
check in class AbstractSiDOArgumentResolver
getExpectedDataTypeName
protected String getExpectedDataTypeName(org.springframework.core.MethodParameter methodParameter,
org.springframework.web.context.request.NativeWebRequest webRequest,
boolean typeRequired)
throws Exception
- Specified by:
getExpectedDataTypeName in class AbstractSiDOArgumentResolver
- Throws:
Exception
getDataFactory
protected DataFactory getDataFactory()
- Specified by:
getDataFactory in class AbstractSiDOArgumentResolver
supportsParameterType
protected boolean supportsParameterType(Class<?> parameterType)
- Specified by:
supportsParameterType in class AbstractSiDOArgumentResolver
init
protected void init(DataObject o,
org.springframework.core.MethodParameter methodParameter)
- No initialisation, only validation
- Specified by:
init in class AbstractSiDOArgumentResolver
- See Also:
check(net.sf.sido.DataObject, org.springframework.core.MethodParameter)
transform
protected Object transform(DataObject dataObject,
org.springframework.core.MethodParameter methodParameter,
org.springframework.web.context.request.NativeWebRequest webRequest)
- Specified by:
transform in class AbstractSiDOArgumentResolver
Copyright © 2011. All Rights Reserved.