Package org.eclipse.wst.xml.core.internal.validation.core

Examples of org.eclipse.wst.xml.core.internal.validation.core.ValidationInfo


   * @return
   *     An XML Validation Report representing the information contained in the IValidationReport.
   */
  protected ValidationReport convertReportToXMLReport(IValidationReport report)
  {
  ValidationInfo convertedReport = new ValidationInfo(report.getFileURI());
  IValidationMessage[] messages = report.getValidationMessages();
  int numMessages = messages.length;
  for(int i = 0; i < numMessages; i++)
  {
    convertMessage(messages[i], convertedReport);
View Full Code Here


  @Override
  public ValidationReport validate(String uri, InputStream inputstream,
      NestedValidatorContext context) {   

    ValidationInfo validationReport = new ValidationInfo(uri);
    try {
      //Get IFile from URI
      IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocationURI(new URI(uri.replace(" ", "%20")));
     
      //hmm, could be multiple? Lets just take the first
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.core.internal.validation.core.ValidationInfo

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.