XsltFactory
-
author
-
Table of Contents
Constants
-
PROCESSOR_EXSELT
= 'exselt'
-
PROCESSOR_EXSELT_ARGS
= '-xml:%1$s -xsl:%2$s -o:%3$s'
-
PROCESSOR_LIBXML
= 'libxml'
-
PROCESSOR_LIBXML_ARGS
= '%2$s %1$s >%3$s'
-
PROCESSOR_PHP
= 'php'
-
PROCESSOR_SAXON8
= 'saxon8'
-
PROCESSOR_SAXON8_ARGS
= '-s %1$s -o %3$s %2$s'
-
PROCESSOR_SAXON9
= 'saxon9'
-
PROCESSOR_SAXON9_ARGS
= '%1$s -xsl:%2$s -o:%3$s'
-
PROCESSOR_SAXONC
= 'saxonc'
Methods
-
createAdapter()
: AdapterInterface
-
createInput()
: InputInterface
-
getConfigurationForProcessor()
: array<string|int, mixed>
-
getProcessorForVersion()
: string
-
setConfigurationForProcessor()
: mixed
-
setProcessorForVersion()
: mixed
PROCESSOR_EXSELT
public
mixed
PROCESSOR_EXSELT
= 'exselt'
PROCESSOR_EXSELT_ARGS
public
mixed
PROCESSOR_EXSELT_ARGS
= '-xml:%1$s -xsl:%2$s -o:%3$s'
PROCESSOR_LIBXML
public
mixed
PROCESSOR_LIBXML
= 'libxml'
PROCESSOR_LIBXML_ARGS
public
mixed
PROCESSOR_LIBXML_ARGS
= '%2$s %1$s >%3$s'
PROCESSOR_PHP
public
mixed
PROCESSOR_PHP
= 'php'
PROCESSOR_SAXON8
public
mixed
PROCESSOR_SAXON8
= 'saxon8'
PROCESSOR_SAXON8_ARGS
public
mixed
PROCESSOR_SAXON8_ARGS
= '-s %1$s -o %3$s %2$s'
PROCESSOR_SAXON9
public
mixed
PROCESSOR_SAXON9
= 'saxon9'
PROCESSOR_SAXON9_ARGS
public
mixed
PROCESSOR_SAXON9_ARGS
= '%1$s -xsl:%2$s -o:%3$s'
PROCESSOR_SAXONC
public
mixed
PROCESSOR_SAXONC
= 'saxonc'
createAdapter()
public
static createAdapter(float $xsltVersion) : AdapterInterface
Parameters
-
$xsltVersion
: float
-
public
static createInput(mixed $input) : InputInterface
Parameters
-
$input
: mixed
-
getConfigurationForProcessor()
public
static getConfigurationForProcessor(string $processorId) : array<string|int, mixed>
Parameters
-
$processorId
: string
-
Return values
array<string|int, mixed>
getProcessorForVersion()
public
static getProcessorForVersion(string $xsltVersion) : string
Parameters
-
$xsltVersion
: string
-
setConfigurationForProcessor()
public
static setConfigurationForProcessor(string $processorId, array<string|int, mixed> $config) : mixed
Parameters
-
$processorId
: string
-
-
$config
: array<string|int, mixed>
-
setProcessorForVersion()
public
static setProcessorForVersion(string $xsltVersion, string $processorId) : mixed
Parameters
-
$xsltVersion
: string
-
-
$processorId
: string
-