public class DatePropertyProcessor extends PropertyProcessor
context, element, expression, node| 构造器和说明 |
|---|
DatePropertyProcessor(Context context,
PropertyElement element,
Expression parentExpression) |
DatePropertyProcessor(Context context,
PropertyElement element,
Expression parentExpression,
String pattern) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
handle(com.fasterxml.jackson.databind.node.ObjectNode parentNode,
Class<?> clazz,
Object value,
String showName)
Extension: Constructing the Node in Json tree structure
|
protected boolean |
support(Class<?> sourceClass)
Extension: Determine whether to support a certain type of value
|
protected Date |
transformDate(Class<?> clazz,
Object value) |
processcreateExpressiongetContext, getElement, getExpression, getNode, setNodepublic DatePropertyProcessor(Context context, PropertyElement element, Expression parentExpression)
public DatePropertyProcessor(Context context, PropertyElement element, Expression parentExpression, String pattern)
protected boolean support(Class<?> sourceClass)
PropertyProcessorsupport 在类中 PropertyProcessorsourceClass - source classprotected void handle(com.fasterxml.jackson.databind.node.ObjectNode parentNode,
Class<?> clazz,
Object value,
String showName)
PropertyProcessorhandle 在类中 PropertyProcessorparentNode - parent jsonNodeclazz - vlassvalue - valueshowName - show nameCopyright © 2016. All rights reserved.