mirror of
https://github.com/JHUAPL/aqueduct.git
synced 2026-01-09 07:48:04 -05:00
37 lines
689 B
PHP
37 lines
689 B
PHP
<?php
|
|
/*
|
|
homepage: http://arc.semsol.org/
|
|
license: http://arc.semsol.org/license
|
|
|
|
class: ARC2 Store RDF/XML Loader
|
|
author: Benjamin Nowack
|
|
version: 2007-08-21
|
|
*/
|
|
|
|
ARC2::inc('RDFXMLParser');
|
|
|
|
class ARC2_StoreRDFXMLLoader extends ARC2_RDFXMLParser {
|
|
|
|
function __construct($a = '', &$caller) {
|
|
parent::__construct($a, $caller);
|
|
}
|
|
|
|
function ARC2_StoreRDFXMLLoader($a = '', &$caller) {
|
|
$this->__construct($a, $caller);
|
|
}
|
|
|
|
function __init() {
|
|
parent::__init();
|
|
}
|
|
|
|
/* */
|
|
|
|
function addT($s, $p, $o, $s_type, $o_type, $o_dt = '', $o_lang = '') {
|
|
$this->caller->addT($s, $p, $o, $s_type, $o_type, $o_dt, $o_lang);
|
|
$this->t_count++;
|
|
}
|
|
|
|
/* */
|
|
|
|
}
|