프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$DOM | |||
$DOMXpath | |||
$XML | |||
$registeredPrefixes |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 ( ) : |
||
리턴 |
public ParseMetadatas ( ) : |
||
리턴 |
public close ( ) : |
||
리턴 |
protected getDom ( ) : DOMDocument | ||
리턴 | DOMDocument |
protected getDomXpath ( ) : DOMXpath | ||
리턴 | DOMXpath | The DOMXpath object related to the XML |
protected static getNamespacesFromXml ( DOMDocument $dom ) : array | ||
$dom | DOMDocument | |
리턴 | 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 |
리턴 | PHPExiftool\Driver\Value\ValueInterface | The value extracted |