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 Processor

Class for parse one template in one processor

Namespace: XSLTBenchmarking\TestsRunner
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsRunner/Processors/Processor.php
Methods summary
public
# __construct( string $tmpDir, XSLTBenchmarking\TestsRunner\MemoryUsage $memoryUsage, string $driversDir = NULL, string $driversNamespace = '\XSLTBenchmarking\TestsRunner\\' )
Configure object

Configure object

Parameters

$tmpDir
string
Path of temporary directory
$memoryUsage
XSLTBenchmarking\TestsRunner\MemoryUsage
Class for measure memory usage of run command
$driversDir
string
Path of dirctory containing processor drivers
$driversNamespace
string
Namespace of processors drivers
public array
# getAvailable( )
Return list of available names of processors

Return list of available names of processors

Returns

array
([name] => AProcessorDriver)
public array
# getInformations( )
Return information about processors

Return information about processors

Returns

array
public array|string
# run( string $processorName, string $templatePath, string $xmlInputPath, string $outputPath, $repeating )
Run one XSLT transformation in the processor

Run one XSLT transformation in the processor

Parameters

$processorName
string
Name of used processor
$templatePath
string
Path of XSLT template
$xmlInputPath
string
Path of XML input file
$outputPath
string
Path of generated output file
$repeating

Returns

array|string
List of spend times on transformation|Error message
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.