RdfXml
in package
implements
MetadataInterface
Creates OAI-PMH <metadata> element in as an RDF-XML serialization of an RDF metadata.
Tags
Table of Contents
Interfaces
- MetadataInterface
- Interface for different metadata providers.
Properties
- $res : RepoResourceDb
- Repository resource object
Methods
- __construct() : mixed
- Creates a metadata object for a given repository resource.
- extendSearchDataQuery() : QueryPart
- This implementation has no need to extend the search query.
- extendSearchFilterQuery() : QueryPart
- This implementation has no need to extend the search query.
- getXml() : DOMElement
- Creates resource's XML metadata
Properties
$res
Repository resource object
private
RepoResourceDb
$res
Methods
__construct()
Creates a metadata object for a given repository resource.
public
__construct(RepoResourceDb $resource, HeaderData $searchResultRow, MetadataFormat $format) : mixed
Parameters
- $resource : RepoResourceDb
-
a repository resource object
- $searchResultRow : HeaderData
-
search query result row
- $format : MetadataFormat
-
metadata format descriptor describing this resource
extendSearchDataQuery()
This implementation has no need to extend the search query.
public
static extendSearchDataQuery(MetadataFormat $format) : QueryPart
Parameters
- $format : MetadataFormat
Return values
QueryPartextendSearchFilterQuery()
This implementation has no need to extend the search query.
public
static extendSearchFilterQuery(MetadataFormat $format) : QueryPart
Parameters
- $format : MetadataFormat
Return values
QueryPartgetXml()
Creates resource's XML metadata
public
getXml() : DOMElement