![]() |
SASSY
0.0
Software Architecture Support System
|
Manages the prefixes and namespaces for a World. More...
#include <rdfxx/rdfxx.h>
Public Member Functions | |
| Prefixes (World) | |
| Constructor. | |
| void | base (URI uri) |
| Set the base URI. | |
| void | anonymous (URI uri) |
| insert an anonymous namespace | |
| void | base (const std::string &filename) |
| Set the base URI. | |
| URI | base () const |
| Get the base URI. | |
| bool | isBase (URI) const |
| Check if a URI is the base URI. | |
| std::string | removeBase (URI) const |
| Strip the base URI from a URI. | |
| void | insert (const std::string &prefix, URI) |
| Save a prefix and its corresponding namespace URI. | |
| URI | find (const std::string &) |
| Find the namespace URI with the supplied prefix. | |
| std::string | find (URI) |
| Find the prefix for the supplied namespace URI. | |
| void | update (const std::string &oldPrefix, const std::string &newPrefix, URI) |
| Update a prefix and namespace. | |
| void | remove (const std::string &) |
| Remove a prefix and namespace. | |
| URI | uriForm (const std::string &) |
| Convert a prefix and fragment to a URI and fragment. | |
| std::string | prefixForm (URI) |
| Convert a URI and fragment to its prefix and fragment. | |
|
std::map< std::string, URI > ::iterator | begin () |
| Get an iterator for the saved prefixes. | |
|
std::map< std::string, URI > ::iterator | end () |
| get the end iterator for the saves prefixes. | |
Manages the prefixes and namespaces for a World.
1.8.5