Flow PHP

XMLLoader implements Closure, Loader, FileLoader

FinalYes

Interfaces

Closure
Loader
FileLoader

Methods

__construct()  : mixed
closure()  : void
destination()  : Path
load()  : void
withAttributePrefix()  : self
withDateTimeFormat()  : self
withListElementName()  : self
withMapElementKeyName()  : self
withMapElementName()  : self
withMapElementValueName()  : self
withRootElementName()  : self
withRowElementName()  : self
withXMLAttributes()  : self
write()  : void
writeXML()  : void

Methods

closure()

public closure(FlowContext $context) : void
Parameters
$context : FlowContext

destination()

public destination() : Path
Return values
Path

load()

public load(Rows $rows, FlowContext $context) : void
Parameters
$rows : Rows
$context : FlowContext

withAttributePrefix()

public withAttributePrefix(string $attributePrefix) : self
Parameters
$attributePrefix : string
Return values
self

withDateTimeFormat()

public withDateTimeFormat(string $dateTimeFormat) : self
Parameters
$dateTimeFormat : string
Return values
self

withListElementName()

public withListElementName(string $listElementName) : self
Parameters
$listElementName : string
Return values
self

withMapElementKeyName()

public withMapElementKeyName(string $mapElementKeyName) : self
Parameters
$mapElementKeyName : string
Return values
self

withMapElementName()

public withMapElementName(string $mapElementName) : self
Parameters
$mapElementName : string
Return values
self

withMapElementValueName()

public withMapElementValueName(string $mapElementValueName) : self
Parameters
$mapElementValueName : string
Return values
self

withRootElementName()

public withRootElementName(string $rootElementName) : self
Parameters
$rootElementName : string
Return values
self

withRowElementName()

public withRowElementName(string $rowElementName) : self
Parameters
$rowElementName : string
Return values
self

withXMLAttributes()

public withXMLAttributes(array<string, string> $xmlAttributes) : self
Parameters
$xmlAttributes : array<string, string>
Return values
self

write()

public write(Rows $nextRows, array<string|int, Partition$partitions, FlowContext $context, RowsNormalizer $normalizer) : void
Parameters
$nextRows : Rows
$partitions : array<string|int, Partition>
$context : FlowContext
$normalizer : RowsNormalizer

writeXML()

public writeXML(Rows $rows, DestinationStream $stream, RowsNormalizer $normalizer) : void
Parameters
$rows : Rows
$stream : DestinationStream
$normalizer : RowsNormalizer

        
On this page

Search results