org.daisy.zedval.engine
Class ZedCustomTest

java.lang.Object
  extended byorg.daisy.zedval.engine.ZedCustomTest
Direct Known Subclasses:
AudioTests, AudioTests, DtbookSmilRelations, DtbookTests, ImageTests, ImageTests, ManifestAudio, ManifestIntegrity, ManifestNonAudio, ManifestNonText, ManifestText, NcxIntegrity, NcxInternal, NcxRelations, NcxTests, OpfIntegrity, OpfInternal, PackageTests, ResIntegrity, ResInternal, ResourceTests, ResRelations, SmilDtbookRelations, SmilInternal, SmilRelations, SmilTests, SpineIntegrity, TextInternal, TextRelations

public abstract class ZedCustomTest
extends java.lang.Object

An object implementing the ZedCustomTest interface executes a test on a ZedFile

Author:
James Pritchett

Constructor Summary
ZedCustomTest()
           
 
Method Summary
 void addTestFailure(java.lang.String testRef, java.lang.String detailMsg, java.lang.String badRef, java.lang.String line)
           
 org.w3c.dom.Document getResultDoc()
           
abstract  void performTest(ZedFile f)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZedCustomTest

public ZedCustomTest()
Method Detail

performTest

public abstract void performTest(ZedFile f)
                          throws ZedCustomTestException
Throws:
ZedCustomTestException

addTestFailure

public void addTestFailure(java.lang.String testRef,
                           java.lang.String detailMsg,
                           java.lang.String badRef,
                           java.lang.String line)
                    throws ZedCustomTestException
Throws:
ZedCustomTestException

getResultDoc

public org.w3c.dom.Document getResultDoc()
Returns:
Returns the resultDoc.