package com.adobe.epubcheck.ctc;

import org.w3c.dom.Document;

import com.adobe.epubcheck.api.Report;
import com.adobe.epubcheck.ctc.epubpackage.EpubPackage;
import com.adobe.epubcheck.opf.DocumentValidator;

public class EpubMetaDataV3Check implements DocumentValidator
{

  private final Document doc;
  private final String pathRootFile;
  @SuppressWarnings("unused")
  private final Report report;

  public EpubMetaDataV3Check(EpubPackage epack, Report report)
  {
    this.doc = epack.getPackDoc();
    this.pathRootFile = epack.getPackageMainFile();
    this.report = report;
  }

  @Override
  public boolean validate()
  {
    return isMetaDataValid(doc, pathRootFile);
  }

  private boolean isMetaDataValid(Document doc, String pathRootFile)
  {
    return true; // no custom checks
  }
}
