Examples of validator()


Examples of com.addthis.codec.Codec.Set.validator()

                codable = setPolicy.codable();
                readonly = setPolicy.readonly();
                writeonly = setPolicy.writeonly();
                required = setPolicy.required();
                intern = setPolicy.intern();
                validator = setPolicy.validator();
                field.setAccessible(true);
                if (!codable) {
                    continue;
                }
            }
View Full Code Here

Examples of com.gwtplatform.dispatch.rpc.server.spring.annotation.RegisterActionHandler.validator()

        if (bean instanceof ActionHandler<?, ?>) {
            ActionHandler<?, ?> actionHandler = (ActionHandler<?, ?>) bean;
            RegisterActionHandler registerHandler = bean.getClass().getAnnotation(RegisterActionHandler.class);
            if (registerHandler != null) {
                ActionHandlerValidatorClass actionHandlerValidatorClass = new ActionHandlerValidatorClass(
                        actionHandler.getClass(),registerHandler.validator());
                SpringUtils.registerBean(applicationContext, new ActionHandlerValidatorMapImpl(
                        actionHandler.getActionType(), actionHandlerValidatorClass));
                if (actionHandlerValidatorRegistry instanceof LazyActionHandlerValidatorRegistry) {
                    ((LazyActionHandlerValidatorRegistry) actionHandlerValidatorRegistry)
                            .addActionHandlerValidatorClass(actionHandler.getActionType(), actionHandlerValidatorClass);
View Full Code Here

Examples of com.gwtplatform.dispatch.server.spring.annotation.RegisterActionHandler.validator()

        if (bean instanceof ActionHandler<?, ?>) {
            ActionHandler<?, ?> actionHandler = (ActionHandler<?, ?>) bean;
            RegisterActionHandler registerHandler = bean.getClass().getAnnotation(RegisterActionHandler.class);
            if (registerHandler != null) {
                ActionHandlerValidatorClass actionHandlerValidatorClass = new ActionHandlerValidatorClass(
                        actionHandler.getClass(),registerHandler.validator());
                SpringUtils.registerBean(applicationContext, new ActionHandlerValidatorMapImpl(
                        actionHandler.getActionType(), actionHandlerValidatorClass));
                if (actionHandlerValidatorRegistry instanceof LazyActionHandlerValidatorRegistry) {
                    ((LazyActionHandlerValidatorRegistry) actionHandlerValidatorRegistry)
                            .addActionHandlerValidatorClass(actionHandler.getActionType(), actionHandlerValidatorClass);
View Full Code Here

Examples of com.ocpsoft.pretty.faces.annotation.URLValidator.validator()

         {

            // set validation options on the QueryParamSpec object
            queryParam.setValidatorIds(validationAnnotation.validatorIds());
            queryParam.setOnError(validationAnnotation.onError());
            queryParam.setValidator(validationAnnotation.validator());

         }

         // add the new spec object to the list of specs
         queryParamList.add(queryParam);
View Full Code Here

Examples of com.ocpsoft.pretty.faces.annotation.URLValidator.validator()

         {

            // set validation options on the QueryParamSpec object
            queryParam.setValidatorIds(validationAnnotation.validatorIds());
            queryParam.setOnError(validationAnnotation.onError());
            queryParam.setValidator(validationAnnotation.validator());

         }

         // add the new spec object to the list of specs
         queryParamList.add(queryParam);
View Full Code Here

Examples of org.jboss.aesh.cl.Arguments.validator()

                    type = (Class) listType.getActualTypeArguments()[0];
                }
                processedCommand.setArgument(
                        new ProcessedOption('\u0000',"", a.description(), "", false, a.valueSeparator(),
                                a.defaultValue(), type, field.getName(), OptionType.ARGUMENT, a.converter(),
                                a.completer(), a.validator(), null, null));
            }
        }

        return new CommandLineParserBuilder().parameter(processedCommand).generateParser();
    }
View Full Code Here

Examples of org.jboss.aesh.cl.Arguments.validator()

                    type = (Class) listType.getActualTypeArguments()[0];
                }
                processedCommand.setArgument(
                        new ProcessedOption('\u0000',"", a.description(), "", false, a.valueSeparator(),
                                a.defaultValue(), type, field.getName(), OptionType.ARGUMENT, a.converter(),
                                a.completer(), a.validator(), null, null));
            }
        }

        return new CommandLineParserBuilder().parameter(processedCommand).generateParser();
    }
View Full Code Here

Examples of org.jboss.aesh.cl.Arguments.validator()

                    type = (Class) listType.getActualTypeArguments()[0];
                }
                processedCommand.setArgument(
                        new ProcessedOption('\u0000',"", a.description(), "", false, a.valueSeparator(),
                                a.defaultValue(), type, field.getName(), OptionType.ARGUMENT, a.converter(),
                                a.completer(), a.validator(), null, null));
            }
        }

        return new CommandLineParserBuilder().parameter(processedCommand).generateParser();
    }
View Full Code Here

Examples of org.jboss.aesh.cl.Arguments.validator()

                        .type(type)
                        .fieldName(field.getName())
                        .optionType(OptionType.ARGUMENT)
                        .converter(a.converter())
                        .completer(a.completer())
                        .validator(a.validator())
                        .create());
            }
        }

    }
View Full Code Here

Examples of org.jboss.aesh.cl.Arguments.validator()

                    type = (Class) listType.getActualTypeArguments()[0];
                }
                processedCommand.setArgument(
                        new ProcessedOption('\u0000',"", a.description(), "", false, a.valueSeparator(),
                                a.defaultValue(), type, field.getName(), OptionType.ARGUMENT, a.converter(),
                                a.completer(), a.validator(), null, null));
            }
        }

        return new CommandLineParserBuilder().parameter(processedCommand).generateParser();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.