Package org.netbeans.modules.php.wordpress.validators

Examples of org.netbeans.modules.php.wordpress.validators.WordPressDirectoryNameValidator.validateName()


        if (descriptor == null || panel == null) {
            return;
        }
        String childThemeName = getPanel().getChildDirectoryName();
        WordPressDirectoryNameValidator validator = new WordPressDirectoryNameValidator();
        ValidationResult result = validator.validateName(childThemeName)
                .validateExistingName(childThemeName, themes)
                .getResult();

        // errors
        List<ValidationResult.Message> errors = result.getErrors();
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.