org.daisy.zedval.zedsuite.v2005
Class ResourceTests

java.lang.Object
  extended byorg.daisy.zedval.engine.ZedCustomTest
      extended byorg.daisy.zedval.zedsuite.v2005.ResourceTests
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class ResourceTests
extends ZedCustomTest
implements org.xml.sax.ErrorHandler

Performs custom tests on resource file

Author:
mgylling, jpritchett

Constructor Summary
ResourceTests()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 void performTest(ZedFile f)
          Performs custom tests on resource file
 void warning(org.xml.sax.SAXParseException exception)
           
 
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

ResourceTests

public ResourceTests()
Method Detail

performTest

public void performTest(ZedFile f)
                 throws ZedCustomTestException
Performs custom tests on resource file

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

warning

public void warning(org.xml.sax.SAXParseException exception)
Specified by:
warning in interface org.xml.sax.ErrorHandler

error

public void error(org.xml.sax.SAXParseException exception)
Specified by:
error in interface org.xml.sax.ErrorHandler

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
Specified by:
fatalError in interface org.xml.sax.ErrorHandler