![]() |
![]()
| ![]() |
![]()
NAMERDF::Trine::NamespaceMap - Collection of Namespaces VERSIONThis document describes RDF::Trine::NamespaceMap version 1.019 SYNOPSISuse RDF::Trine::NamespaceMap; my $map = RDF::Trine::NamespaceMap->new( \%namespaces ); $serializer->serialize_model_to_string( $model, namespaces => $map ); $map->add_mapping( foaf => 'http://xmlns.com/foaf/0.1/' ); my $foaf_namespace = $map->foaf; my $foaf_person = $map->foaf('Person'); DESCRIPTIONThis module provides an object to manage multiple namespaces for creating RDF::Trine::Node::Resource objects and for serializing. METHODS
WARNINGAvoid using the names 'can', 'isa', 'VERSION', and 'DOES' as namespace prefix, because these names are defined as method for every Perl object by default. The method names 'new' and 'uri' are also forbidden. BUGSPlease report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHORGregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHTCopyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|