A namespace registry and manipulation class.
Located in /EasyRdf/Namespace.php (line 46)
Delete an existing namespace.
Expand a shortened URI (qname) back into a full URI.
If it isn't possible to expand the qname, for example if the namespace isn't registered, then the original string will be returned.
Return a namespace given its prefix.
Return all the namespaces registered
Return the prefix namespace that a URI belongs to.
Delete the anonymous namespaces and reset the counter to 0
Register a new namespace.
Shorten a URI by substituting in the namespace prefix.
If $createNamespace is true, and the URI isn't part of an existing namespace, then EasyRdf will attempt to create a new namespace and use that namespace to shorten the URI (for example ns0:term).
If it isn't possible to shorten the URI, then null will be returned.
Try and breakup a URI into a prefix and local part
If $createNamespace is true, and the URI isn't part of an existing namespace, then EasyRdf will attempt to create a new namespace and return the name of the new prefix (for example 'ns0', 'term').
If it isn't possible to split the URI, then null will be returned.
Documentation generated on Wed, 16 Jan 2013 19:16:38 +0000 by phpDocumentor 1.4.4