Class AProcessorDriver
Abstract class for coleting information about one processor and making command template for their running
Direct Known Subclasses
XSLTBenchmarking\TestsRunner\Libxslt1123phpProcessorDriver, XSLTBenchmarking\TestsRunner\Libxslt1126phpProcessorDriver, XSLTBenchmarking\TestsRunner\XT20051206ProcessorDriver, XSLTBenchmarking\TestsRunner\MSXML30ProcessorDriver, XSLTBenchmarking\TestsRunner\MSXML60ProcessorDriver, XSLTBenchmarking\TestsRunner\Sablotron103cmdProcessorDriver, XSLTBenchmarking\TestsRunner\Saxon655ProcessorDriver, XSLTBenchmarking\TestsRunner\SaxonHE9402ProcessorDriver, XSLTBenchmarking\TestsRunner\Xalan271ProcessorDriver, XSLTBenchmarking\TestsRunner\Xsltproc1123ProcessorDriver, XSLTBenchmarking\TestsRunner\Xsltproc1126ProcessorDriverNamespace: XSLTBenchmarking\TestsRunner
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsRunner/Processors/Drivers/AProcessorDriver.php
public
string
|
|
public
array
|
#
getInformations(
)
Return information about processor
Return information about processor Returnsarray |
public
string
|
#
getBeforeCommandTemplate(
)
Preparing command template for transformation, that are not include in measured
time.
Preparing command template for transformation, that are not include in measured time. Templates substitutions: [XSLT] = path of XSLT template for transformation [INPUT] = path of input XML file [OUTPUT] = path of generated output XML file [ERROR] = path of file for eventual generated error message [PROCESSORS] = path of directory containing XSLT processors (libraries, command-line program etc.) [LIBS] = path of Libs directory Returnsstring |
public
string
|
#
getAfterCommandTemplate(
)
Concluding command template for transformation, that are not include in measured
time.
Concluding command template for transformation, that are not include in measured time. Templates substitutions: [XSLT] = path of XSLT template for transformation [INPUT] = path of input XML file [OUTPUT] = path of generated output XML file [ERROR] = path of file for eventual generated error message [PROCESSORS] = path of directory containing XSLT processors (libraries, command-line program etc.) [LIBS] = path of Libs directory Returnsstring |
public
boolean
|
#
isTemplateSetInInput(
)
Flag, if template for transformating has to be set in input XML by directive
"<?xml-stylesheet href="[XSLT]" type="text/xml" ..."
Flag, if template for transformating has to be set in input XML by directive "<?xml-stylesheet href="[XSLT]" type="text/xml" ..." Returnsboolean |
abstract public
boolean
|
#
isAvailable(
)
Return flag, if the driver is available. For example, it can be used for
distinguish OS.
Return flag, if the driver is available. For example, it can be used for distinguish OS. Returnsboolean |
abstract public
string
|
#
getCommandTemplate(
)
Return template of command
Return template of command Templates substitutions: [XSLT] = path of XSLT template for transformation [INPUT] = path of input XML file [OUTPUT] = path of generated output XML file [ERROR] = path of file for eventual generated error message [PROCESSORS] = path of directory containing XSLT processors (libraries, command-line program etc.) [LIBS] = path of Libs directory Returnsstring |
abstract public
string
|
#
getFullName(
)
Full name of processor (with version)
Full name of processor (with version) Returnsstring |
abstract public
string
|
string
|
KERNEL_SAXON
|
'Saxon' |
|
string
|
KERNEL_LIBXSLT
|
'libxslt' |
|
string
|
KERNEL_SABLOTRON
|
'Sablotron' |
|
string
|
KERNEL_XALAN
|
'Xalan' |
|
string
|
KERNEL_XT
|
'XT' |
|
string
|
KERNEL_MSXML
|
'MSXML' |
|
string
|
OS_WIN
|
'WINNT' |
|
string
|
OS_LINUX
|
'Linux' |