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
__construct()
public
__construct(Path $path, XMLWriter $xmlWriter) : mixed
Parameters
- $path : Path
- $xmlWriter : XMLWriter
closure()
public
closure(FlowContext $context) : void
Parameters
- $context : FlowContext
destination()
public
destination() : Path
Return values
Pathload()
public
load(Rows $rows, FlowContext $context) : void
Parameters
- $rows : Rows
- $context : FlowContext
withAttributePrefix()
public
withAttributePrefix(string $attributePrefix) : self
Parameters
- $attributePrefix : string
Return values
selfwithDateTimeFormat()
public
withDateTimeFormat(string $dateTimeFormat) : self
Parameters
- $dateTimeFormat : string
Return values
selfwithListElementName()
public
withListElementName(string $listElementName) : self
Parameters
- $listElementName : string
Return values
selfwithMapElementKeyName()
public
withMapElementKeyName(string $mapElementKeyName) : self
Parameters
- $mapElementKeyName : string
Return values
selfwithMapElementName()
public
withMapElementName(string $mapElementName) : self
Parameters
- $mapElementName : string
Return values
selfwithMapElementValueName()
public
withMapElementValueName(string $mapElementValueName) : self
Parameters
- $mapElementValueName : string
Return values
selfwithRootElementName()
public
withRootElementName(string $rootElementName) : self
Parameters
- $rootElementName : string
Return values
selfwithRowElementName()
public
withRowElementName(string $rowElementName) : self
Parameters
- $rowElementName : string
Return values
selfwithXMLAttributes()
public
withXMLAttributes(array<string, string> $xmlAttributes) : self
Parameters
- $xmlAttributes : array<string, string>
Return values
selfwrite()
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