XmlParserAbstract
in package
Tags
Table of Contents
- $path : string
- __construct() : mixed
- parse() : InfosAbstract
- parseFromString() : mixed
- createInfos() : InfosAbstract
- fixVersion() : mixed
- Fix version for non built lib.
- parseInfo() : mixed
Properties
$path
protected
string
$path
the path of the xml file to read
Tags
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
-
the path of the xml file to read
Tags
Return values
mixed —parse()
public
parse() : InfosAbstract
Tags
Return values
InfosAbstract —parseFromString()
public
parseFromString(mixed $xmlContent) : mixed
Parameters
- $xmlContent : mixed
Tags
Return values
mixed —createInfos()
protected
abstract createInfos() : InfosAbstract
Tags
Return values
InfosAbstract —fixVersion()
Fix version for non built lib.
protected
fixVersion(mixed $version) : mixed
Parameters
- $version : mixed
Tags
Return values
mixed —parseInfo()
protected
parseInfo(XMLReader $xml, InfosAbstract $object) : mixed
Parameters
- $xml : XMLReader
- $object : InfosAbstract