Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $uri, DataItem $dataItem=null) | |
isBlankNode () | |
isImported () | |
getUri () | |
getSerialization () | |
Public Member Functions inherited from SMW\Exporter\Element\ExpElement | |
__construct (DataItem $dataItem=null) | |
getDataItem () | |
getHash () | |
getSerialization () | |
Public Attributes | |
$isImported = false | |
Public Attributes inherited from SMW\Exporter\Element | |
const | TYPE_RESOURCE = 0 |
const | TYPE_NSRESOURCE = 1 |
const | TYPE_LITERAL = 2 |
Static Protected Member Functions | |
static | deserialize ( $serialization) |
Static Protected Member Functions inherited from SMW\Exporter\Element\ExpElement | |
static | deserialize ( $serialization) |
Additional Inherited Members | |
Static Public Member Functions inherited from SMW\Exporter\Element\ExpElement | |
static | newFromSerialization (array $serialization) |
Protected Attributes inherited from SMW\Exporter\Element\ExpElement | |
$dataItem | |
A single resource (individual) for export, as defined by a URI. This class can also be used to represent blank nodes: It is assumed that all objects of class ExpElement or any of its subclasses represent a blank node if their name is empty or of the form "_id" where "id" is any identifier string. IDs are local to the current context, such as a list of triples or an SMWExpData container.
GNU GPL v2+
SMW\Exporter\Element\ExpResource::__construct | ( | $uri, | |
DataItem | $dataItem = null |
||
) |
string | $uri | The full URI |
DataItem | null | $dataItem |
InvalidArgumentException |
|
staticprotected |
SMW\Exporter\Element\ExpResource::getSerialization | ( | ) |
SMW\Exporter\Element\ExpResource::getUri | ( | ) |
Get the URI of this resource. The result is a UTF-8 encoded URI (or IRI) without any escaping.
SMW\Exporter\Element\ExpResource::isBlankNode | ( | ) |
Return true if this resource represents a blank node.
SMW\Exporter\Element\ExpResource::isImported | ( | ) |