org.daisy.zedval.zedsuite.v2002
Class SpineIntegrity

java.lang.Object
  extended byorg.daisy.zedval.engine.ZedCustomTest
      extended byorg.daisy.zedval.zedsuite.v2002.SpineIntegrity

public class SpineIntegrity
extends ZedCustomTest

Performs package file spine integrity checks:

opf_SpineRefAllSmilInMnf
Each smil file listed in manifest is referenced by spine
opf_spnItemRefIdrefSmil
spine itemref idref attributes points to the id of a SMIL file listed in manifest
opf_xMetaTotTimeAccurate
x-metadata dtb:totalTime value is the sum of the durations of all SMIL files in the spine

Author:
James Pritchett

Constructor Summary
SpineIntegrity()
           
 
Method Summary
 void performTest(ZedFile f)
          Performs the spine integrity tests on the package file
 
Methods inherited from class org.daisy.zedval.engine.ZedCustomTest
addTestFailure, getResultDoc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpineIntegrity

public SpineIntegrity()
Method Detail

performTest

public void performTest(ZedFile f)
                 throws ZedCustomTestException
Performs the spine integrity tests on the package file

Specified by:
performTest in class ZedCustomTest
Parameters:
f - A PackageFile instance
Throws:
ZedCustomTestException