XsltFactory
in package
FinalYes
Factory and configuration registry for XSLT processor adapters and inputs.
Tags
Table of Contents
Constants
- PROCESSOR_EXSELT : mixed = 'exselt'
- PROCESSOR_EXSELT_ARGS : mixed = '-xml:%1$s -xsl:%2$s -o:%3$s'
- PROCESSOR_LIBXML : mixed = 'libxml'
- PROCESSOR_LIBXML_ARGS : mixed = '%2$s %1$s >%3$s'
- PROCESSOR_PHP : mixed = 'php'
- PROCESSOR_SAXON8 : mixed = 'saxon8'
- PROCESSOR_SAXON8_ARGS : mixed = '-s %1$s -o %3$s %2$s'
- PROCESSOR_SAXON9 : mixed = 'saxon9'
- PROCESSOR_SAXON9_ARGS : mixed = '%1$s -xsl:%2$s -o:%3$s'
- PROCESSOR_SAXONC : mixed = 'saxonc'
Methods
- createAdapter() : AdapterInterface
- createInput() : InputInterface
- getConfigurationForProcessor() : array<string|int, mixed>
- getProcessorForVersion() : string
- setConfigurationForProcessor() : void
- setProcessorForVersion() : void
Constants
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'
Methods
createAdapter()
public
static createAdapter(float $xsltVersion) : AdapterInterface
Parameters
- $xsltVersion : float
Tags
Return values
AdapterInterfacecreateInput()
public
static createInput(mixed $input) : InputInterface
Parameters
- $input : mixed
Tags
Return values
InputInterfacegetConfigurationForProcessor()
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
Return values
stringsetConfigurationForProcessor()
public
static setConfigurationForProcessor(string $processorId, array<string|int, mixed> $config) : void
Parameters
- $processorId : string
- $config : array<string|int, mixed>
setProcessorForVersion()
public
static setProcessorForVersion(string $xsltVersion, string $processorId) : void
Parameters
- $xsltVersion : string
- $processorId : string