James G Smith > RDF-Server > RDF::Server::Role::Container

Download:
RDF-Server-0.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

 package My::Container;

 use Moose;

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

 sub create { }

DESCRIPTION ^

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 ^

James Smith, <jsmith@cpan.org>

LICENSE ^

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.

syntax highlighting: