|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.daisy.zedval.engine.ZedTestProcessor
org.daisy.zedval.engine.XslTestProcessor
An XslTestProcessor object executes tests via an XSLT
stylesheet
| Constructor Summary | |
XslTestProcessor(java.lang.String id,
java.lang.String l,
java.util.LinkedHashMap tests,
java.util.LinkedHashMap files,
ZedContext c,
java.lang.String sheetName)
|
|
| Method Summary | |
void |
error(javax.xml.transform.TransformerException e)
Receives notification of a recoverable (probably validation) error |
void |
fatalError(javax.xml.transform.TransformerException e)
Receives notification of a non-recoverable (probably well-formedness) error |
java.net.URL |
getSheetUrl()
Returns the XSL stylesheet used by this processor |
boolean |
performTests()
Runs all files through the stylesheet |
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base)
Creates a SAXSource for any document pulled in through a document() call. |
java.lang.String |
toString()
|
void |
warning(javax.xml.transform.TransformerException e)
Receives notification of a warning |
| Methods inherited from class org.daisy.zedval.engine.ZedTestProcessor |
getContext, getFilesTested, getId, getLabel, getTestsImplemented |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XslTestProcessor(java.lang.String id,
java.lang.String l,
java.util.LinkedHashMap tests,
java.util.LinkedHashMap files,
ZedContext c,
java.lang.String sheetName)
id - Id for this ZedTestProcessor (from processor map)l - Name for this ZedTestProcessortests - LinkedHashMap of ZedTests that this ZedTestProcessor
implements (key = id)files - LinkedHashMap of ZedFiles upon which this ZedTestProcessor is
to be invoked (key = absolute full path)c - ZedContext for this runsheetName - Full name/path of XSLT stylesheet to execute| Method Detail |
public boolean performTests()
performTests in class ZedTestProcessorpublic java.net.URL getSheetUrl()
public void error(javax.xml.transform.TransformerException e)
error in interface javax.xml.transform.ErrorListenere - The exception that represents the errorpublic void fatalError(javax.xml.transform.TransformerException e)
fatalError in interface javax.xml.transform.ErrorListenere - The exception that represents the errorpublic void warning(javax.xml.transform.TransformerException e)
warning in interface javax.xml.transform.ErrorListenere - The exception that represents the warning
public javax.xml.transform.Source resolve(java.lang.String href,
java.lang.String base)
throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolverhref - The URI to resolve (relative or absolute)base - The base URI in effect at the time href was encountered
javax.xml.transform.TransformerExceptionpublic java.lang.String toString()
toString in class ZedTestProcessor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||