Свойство | Type | Description | |
---|---|---|---|
$DOM | |||
$DOMXpath | |||
$XML | |||
$registeredPrefixes |
Méthode | Description | |
---|---|---|
ParseEntities ( ) : |
Parse a XML string and returns an ArrayCollection of FileEntity | |
ParseMetadatas ( ) : |
Parse an Entity associated DOM, returns the metadatas | |
Query ( string $query ) : PHPExiftool\Driver\Value\ValueInterface | Returns the first result for a user defined query against the RDF | |
__destruct ( ) | ||
close ( ) : |
Close the current opened XML file and reset internals | |
open ( string $XML ) : |
Opens an XML file for parsing |
Méthode | Description | |
---|---|---|
getDom ( ) : DOMDocument | Compute the DOMDocument from the XML | |
getDomXpath ( ) : DOMXpath | Compute the DOMXpath from the DOMDocument | |
getNamespacesFromXml ( DOMDocument $dom ) : array | Extract all XML namespaces declared in a XML | |
normalize ( string $tagname ) : string | Normalize a tagname based on namespaces redirections | |
readNodeValue ( DOMNode $node, PHPExiftool\Driver\TagInterface $tag = null ) : PHPExiftool\Driver\Value\ValueInterface | Read the node value, decode it if needed |
public ParseEntities ( ) : |
||
Résultat |
public ParseMetadatas ( ) : |
||
Résultat |
public close ( ) : |
||
Résultat |
protected getDom ( ) : DOMDocument | ||
Résultat | DOMDocument |
protected getDomXpath ( ) : DOMXpath | ||
Résultat | DOMXpath | The DOMXpath object related to the XML |
protected static getNamespacesFromXml ( DOMDocument $dom ) : array | ||
$dom | DOMDocument | |
Résultat | array | The namespaces declared in XML |
protected readNodeValue ( DOMNode $node, PHPExiftool\Driver\TagInterface $tag = null ) : PHPExiftool\Driver\Value\ValueInterface | ||
$node | DOMNode | The node to read |
$tag | PHPExiftool\Driver\TagInterface | The tag associated |
Résultat | PHPExiftool\Driver\Value\ValueInterface | The value extracted |