| RDF-Server documentation | Contained in the RDF-Server distribution. |
RDF::Server::Role::Container - renderable resource that holds resources
package My::Container;
use Moose;
with 'RDF::Server::Role::Container';
sub create { }
Containers are resources that hold other resources but are not themselves modifiable.
The create method will create a new resource within the container instead
of creating a new container. The path of the new resource relative to the
path of the container should be returned. This path should result in the
resource handler if given to the container handler.
James Smith, <jsmith@cpan.org>
Copyright (c) 2008 Texas A&M University.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
| RDF-Server documentation | Contained in the RDF-Server distribution. |
package RDF::Server::Role::Container; use Moose::Role; with 'RDF::Server::Role::Renderable'; requires 'create'; 1; __END__