Package com.alibaba.citrus.service.form.impl

Examples of com.alibaba.citrus.service.form.impl.ValidatorContextImpl


    /** 创建一个和指定validator相关的context,使用指定的value。 */
    protected final Context newContext(Context context, Validator validator, Object value) {
        MessageContext expressionContext = MessageContextFactory.newInstance(context.getField(), validator);
        expressionContext.copyLocalContext(context.getMessageContext());
        return new ValidatorContextImpl(expressionContext, context.getField(), value);
    }
View Full Code Here


     * ����һ����ָ��validator��ص�context��ʹ��ָ����value��
     */
    protected final Context newContext(Context context, Validator validator, Object value) {
        MessageContext expressionContext = MessageContextFactory.newInstance(context.getField(), validator);
        expressionContext.copyLocalContext(context.getMessageContext());
        return new ValidatorContextImpl(expressionContext, context.getField(), value);
    }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.form.impl.ValidatorContextImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.