Overview

Namespaces

  • PHP
  • XSLTBenchmarking
    • Reports
    • RunnerConsole
    • TestsGenerator
    • TestsRunner

Classes

  • AMemoryUsageDriver
  • AProcessorDriver
  • Controlor
  • Libxslt1123phpProcessorDriver
  • Libxslt1126phpProcessorDriver
  • LinuxMemoryUsageDriver
  • MemoryUsage
  • MSXML30ProcessorDriver
  • MSXML60ProcessorDriver
  • Params
  • Processor
  • Runner
  • Sablotron103cmdProcessorDriver
  • Saxon655ProcessorDriver
  • SaxonHE9402ProcessorDriver
  • Test
  • TestRunner
  • WindowsMemoryUsageDriver
  • Xalan271ProcessorDriver
  • XmlParamsDriver
  • Xsltproc1123ProcessorDriver
  • Xsltproc1126ProcessorDriver
  • XT20051206ProcessorDriver

Interfaces

  • IParamsDriver
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

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\Xsltproc1126ProcessorDriver
Abstract Class
Namespace: XSLTBenchmarking\TestsRunner
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsRunner/Processors/Drivers/AProcessorDriver.php
Methods summary
public string
# getName( )
Short name of the processor

Short name of the processor

Returns

string
public array
# getInformations( )
Return information about processor

Return information about processor

Returns

array
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

Returns

string
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

Returns

string
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" ..."

Returns

boolean
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.

Returns

boolean
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

Returns

string
abstract public string
# getFullName( )
Full name of processor (with version)

Full name of processor (with version)

Returns

string
abstract public string
# getKernel( )
Return name of processor kernel. Available kernels are const of this class with prefix "KERNEL_"

Return name of processor kernel. Available kernels are const of this class with prefix "KERNEL_"

Examples: Saxon 6.5.5 -> Saxon xsltproc -> libxslt

Returns

string
Constants summary
string KERNEL_SAXON 'Saxon'
#
Saxon kernel names

Saxon kernel names

string KERNEL_LIBXSLT 'libxslt'
#
string KERNEL_SABLOTRON 'Sablotron'
#
string KERNEL_XALAN 'Xalan'
#
string KERNEL_XT 'XT'
#
string KERNEL_MSXML 'MSXML'
#
string OS_WIN 'WINNT'
#
Value of PHP_OS for Windows

Value of PHP_OS for Windows

string OS_LINUX 'Linux'
#
Value of PHP_OS for Linux

Value of PHP_OS for Linux

XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.