接口的使用
cn.taketoday.expression.PropertyAccessor
使用PropertyAccessor的程序包
程序包
说明
Core abstractions behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's default implementations for various core abstractions.
-
cn.taketoday.expression中PropertyAccessor的使用
返回变量类型为PropertyAccessor的类型的cn.taketoday.expression中的方法修饰符和类型方法说明EvaluationContext.getPropertyAccessors()Return a list of accessors that will be asked in turn to read/write a property. -
cn.taketoday.expression.spel中PropertyAccessor的使用
修饰符和类型接口说明interfaceA compilable property accessor is able to generate bytecode that represents the access operation, facilitating compilation to bytecode of expressions that use the accessor.返回变量类型为PropertyAccessor的类型的cn.taketoday.expression.spel中的方法 -
cn.taketoday.expression.spel.ast中PropertyAccessor的使用
修饰符和类型字段说明private PropertyAccessorIndexer.cachedReadAccessorprivate PropertyAccessorPropertyOrFieldReference.cachedReadAccessorprivate PropertyAccessorIndexer.cachedWriteAccessorprivate PropertyAccessorPropertyOrFieldReference.cachedWriteAccessor返回变量类型为PropertyAccessor的类型的cn.taketoday.expression.spel.ast中的方法修饰符和类型方法说明static List<PropertyAccessor>AstUtils.getPropertyAccessorsToTry(Class<?> targetType, List<PropertyAccessor> propertyAccessors) Determines the set of property resolvers that should be used to try and access a property on the specified target type.private List<PropertyAccessor>PropertyOrFieldReference.getPropertyAccessorsToTry(Object contextObject, List<PropertyAccessor> propertyAccessors) Determines the set of property resolvers that should be used to try and access a property on the specified target type.类型变量类型为PropertyAccessor的cn.taketoday.expression.spel.ast中的方法参数修饰符和类型方法说明static List<PropertyAccessor>AstUtils.getPropertyAccessorsToTry(Class<?> targetType, List<PropertyAccessor> propertyAccessors) Determines the set of property resolvers that should be used to try and access a property on the specified target type.private List<PropertyAccessor>PropertyOrFieldReference.getPropertyAccessorsToTry(Object contextObject, List<PropertyAccessor> propertyAccessors) Determines the set of property resolvers that should be used to try and access a property on the specified target type. -
cn.taketoday.expression.spel.support中PropertyAccessor的使用
修饰符和类型类说明final classAPropertyAccessorvariant for data binding purposes, using reflection to access properties for reading and possibly writing.classA powerfulPropertyAccessorthat uses reflection to access properties for reading and possibly also for writing on a target instance.static classAn optimized form of a PropertyAccessor that will use reflection but only knows how to access a particular property on a particular class.修饰符和类型字段说明private final List<PropertyAccessor>SimpleEvaluationContext.Builder.accessorsprivate final List<PropertyAccessor>SimpleEvaluationContext.propertyAccessorsprivate List<PropertyAccessor>StandardEvaluationContext.propertyAccessors修饰符和类型方法说明ReflectivePropertyAccessor.createOptimalAccessor(EvaluationContext context, Object target, String name) Attempt to create an optimized property accessor tailored for a property of a particular name on a particular class.返回变量类型为PropertyAccessor的类型的cn.taketoday.expression.spel.support中的方法修饰符和类型方法说明SimpleEvaluationContext.getPropertyAccessors()Return the specifiedPropertyAccessordelegates, if any.StandardEvaluationContext.getPropertyAccessors()private List<PropertyAccessor>StandardEvaluationContext.initPropertyAccessors()修饰符和类型方法说明voidStandardEvaluationContext.addPropertyAccessor(PropertyAccessor accessor) SimpleEvaluationContext.forPropertyAccessors(PropertyAccessor... accessors) Create aSimpleEvaluationContextfor the specifiedPropertyAccessordelegates: typically a customPropertyAccessorspecific to a use case (e.g. attribute resolution in a custom data structure), potentially combined with aDataBindingPropertyAccessorif property dereferences are needed as well.booleanStandardEvaluationContext.removePropertyAccessor(PropertyAccessor accessor) 类型变量类型为PropertyAccessor的cn.taketoday.expression.spel.support中的方法参数修饰符和类型方法说明voidStandardEvaluationContext.setPropertyAccessors(List<PropertyAccessor> propertyAccessors) 类型变量类型为PropertyAccessor的cn.taketoday.expression.spel.support中的构造器参数限定符构造器说明privateSimpleEvaluationContext(List<PropertyAccessor> accessors, List<MethodResolver> resolvers, TypeConverter converter, TypedValue rootObject)