RDF::Server::Role::Container - renderable resource that holds resources


RDF-Server documentation Contained in the RDF-Server distribution.

Index


Code Index:

NAME

Top

RDF::Server::Role::Container - renderable resource that holds resources

SYNOPSIS

Top

 package My::Container;

 use Moose;

 with 'RDF::Server::Role::Container';

 sub create { }

DESCRIPTION

Top

Containers are resources that hold other resources but are not themselves modifiable.

Methods

create

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.

AUTHOR

Top

James Smith, <jsmith@cpan.org>

LICENSE

Top

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__