Package org.eclipse.mylyn.internal.wikitext.core.validation

Examples of org.eclipse.mylyn.internal.wikitext.core.validation.StandaloneMarkupValidator


    if (markupLanguage == null) {
      throw new IllegalStateException();
    }
    log(MessageFormat.format(Messages.getString("MarkupTask.1"), source), Project.MSG_VERBOSE); //$NON-NLS-1$

    StandaloneMarkupValidator markupValidator = StandaloneMarkupValidator.getValidator(markupLanguage);

    List<ValidationProblem> problems = markupValidator.validate(markupContent);

    int errorCount = 0;
    int warningCount = 0;
    for (ValidationProblem problem : problems) {
      int messageLevel = Project.MSG_ERR;
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.internal.wikitext.core.validation.StandaloneMarkupValidator

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.