| 程序包 | 说明 |
|---|---|
| top.xiajibagao.crane.core.handler | |
| top.xiajibagao.crane.core.handler.interfaces | |
| top.xiajibagao.crane.core.parser | |
| top.xiajibagao.crane.core.parser.interfaces |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
ArrayOperateHandler.readFromSource(Object source,
AssembleProperty property,
Operation operation) |
Object |
BeanOperateHandler.readFromSource(Object source,
AssembleProperty property,
Operation operation) |
Object |
CollectionOperateHandler.readFromSource(Object source,
AssembleProperty property,
Operation operation) |
Object |
ExpressibleOperateHandlerChain.readFromSource(Object source,
AssembleProperty property,
Operation operation) |
Object |
MapOperateHandler.readFromSource(Object source,
AssembleProperty property,
Operation operation) |
boolean |
ArrayOperateHandler.sourceCanRead(Object source,
AssembleProperty property,
Operation operation) |
boolean |
BeanOperateHandler.sourceCanRead(Object source,
AssembleProperty property,
Operation operation) |
boolean |
CollectionOperateHandler.sourceCanRead(Object source,
AssembleProperty property,
Operation operation) |
boolean |
ExpressibleOperateHandlerChain.sourceCanRead(Object source,
AssembleProperty property,
Operation operation) |
boolean |
MapOperateHandler.sourceCanRead(Object source,
AssembleProperty property,
Operation operation) |
boolean |
ArrayOperateHandler.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
boolean |
BeanOperateHandler.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
boolean |
CollectionOperateHandler.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
boolean |
ExpressibleOperateHandlerChain.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
boolean |
MapOperateHandler.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
void |
ArrayOperateHandler.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
void |
BeanOperateHandler.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
void |
CollectionOperateHandler.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
void |
ExpressibleOperateHandlerChain.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
void |
MapOperateHandler.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
OperateHandler.readFromSource(Object source,
AssembleProperty property,
Operation operation)
从数据源中读取数据
source必须是 OperateHandler.sourceCanRead(Object, AssembleProperty, Operation)所支持的类型 |
default Object |
OperateHandlerChain.readFromSource(Object source,
AssembleProperty property,
Operation operation)
从数据源中获取数据。
|
boolean |
OperateHandler.sourceCanRead(Object source,
AssembleProperty property,
Operation operation)
是否支持从数据源中读取数据
|
default boolean |
OperateHandlerChain.sourceCanRead(Object source,
AssembleProperty property,
Operation operation)
处理器链中是否存在可以从数据源中读取数据的节点
|
boolean |
OperateHandler.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation)
是否支持将数据源数据写入待处理对象
|
default boolean |
OperateHandlerChain.targetCanWrite(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation)
处理器链中是否存在可以将数据源数据写入待处理对象的节点
|
void |
OperateHandler.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation)
将数据源数据写入待处理对象
target必须是 OperateHandler.targetCanWrite(Object, Object, AssembleProperty, AssembleOperation)所支持的类型 |
default void |
OperateHandlerChain.writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation)
将数据源中获取的数据写入待处理对象。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BeanAssembleProperty |
class |
EmptyAssembleProperty
一个空装配字段配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected AssembleProperty |
AbstractAnnotationConfigurationParser.parsePropAnnotation(Prop annotation)
解析
Prop注解 |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<AssembleProperty> |
AbstractAnnotationConfigurationParser.parsePropsTemplateAnnotation(Class<?> targetClass)
解析
PropsTemplate注解 |
| 限定符和类型 | 方法和说明 |
|---|---|
OperateConfigurationAssistant.AssembleOperationBuilder<T> |
OperateConfigurationAssistant.AssembleOperationBuilder.properties(Collection<AssembleProperty> properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<AssembleProperty> |
AssembleOperation.getProperties()
获取装配配置字段
|
Copyright © 2022. All rights reserved.