Package net.java.textilej.validation

Examples of net.java.textilej.validation.MarkupValidator


   * @return the markup validator
   *
   * @see #getDialectNames()
   */
  public MarkupValidator getMarkupValidator(String name) {
    MarkupValidator markupValidator = new MarkupValidator();
   
    if (validationRulesByDialectName == null) {
      initializeValidationRules();
    }
    List<ValidationRule> rules = validationRulesByDialectName.get(name);
    if (rules != null) {
      markupValidator.getRules().addAll(rules);
    }
   
    return markupValidator;
  }
View Full Code Here

TOP

Related Classes of net.java.textilej.validation.MarkupValidator

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.