Examples of UrlValidator


Examples of org.codinjutsu.tools.jenkins.view.validator.UrlValidator

            public void actionPerformed(ActionEvent event) {
                try {
                    debugPanel.setVisible(false);

                    new NotNullValidator().validate(serverUrl);
                    new UrlValidator().validate(serverUrl);

                    JenkinsSettings jenkinsSettings = JenkinsSettings.getSafeInstance(project);

                    String password = isPasswordModified() ? getPassword() : jenkinsSettings.getPassword();
View Full Code Here

Examples of org.grails.validation.routines.UrlValidator

            throw new IllegalArgumentException("Parameter for constraint [" + ConstrainedProperty.URL_CONSTRAINT +
                    "] of property [" + constraintPropertyName + "] of class [" +
                    constraintOwningClass + "] must be a boolean, string, or list value");
        }

        validator = new UrlValidator(domainValidator,
                UrlValidator.ALLOW_ALL_SCHEMES + UrlValidator.ALLOW_2_SLASHES);

        super.setParameter(constraintParameter);
    }
View Full Code Here

Examples of org.hibernate.validator.internal.constraintvalidators.hv.URLValidator

  AnnotationDescriptor<URL> descriptor = new AnnotationDescriptor<URL>( URL.class );

  @BeforeMethod
  public void setUp() {
    descriptor = new AnnotationDescriptor<URL>( URL.class );
    urlValidator = new URLValidator();
    regexpURLValidator = new RegexpURLValidator();
  }
View Full Code Here

Examples of org.netbeans.modules.nodejs.forks.UrlValidator

            if (it.hasNext()) {
                sb.append( ", " ); //NOi18N
            }
        }
        set( keywordsField, sb.toString() );
        g.add( bugTrackerField, new AllowNullValidator( new UrlValidator() ) );
        g.add( nameField, StringValidators.REQUIRE_NON_EMPTY_STRING );
        g.add( authorEmailField, new AllowNullValidator( new EmailAddressValidator() ) );
        g.add( mainFileField, new FileRelativeValidator() );
        g.add( commandLineField, new WhitespaceValidator() );
        g.add( authorURLField, new AllowNullValidator( new UrlValidator() ) );
        g.add( versionField, new VersionValidator() );
    }
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.livexp.core.validators.UrlValidator

    this.urlConnectionFactory = urlConnectionFactory;
    this.JSON_URL = jsonUrl;
    this.CONTENT_TYPE = contentType;

    baseUrl = new LiveVariable<String>("<computed>");
    baseUrlValidator = new UrlValidator("Base Url", baseUrl);

    discoverOptions(stringInputs, style);
    style.sort();

    projectName = stringInputs.getField("name");
View Full Code Here

Examples of org.strecks.validator.UrlValidator

{

  public ValidatorWrapper create(Annotation annot, Method method)
  {
    ValidateUrl annotation = (ValidateUrl) annot;
    UrlValidator validator = new UrlValidator();
    return create(validator, annotation.key(), annotation.order(), null, method);
  }
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.