RDFStore::Vocabulary::Generator - implementation of the Vocabulary Generator RDF API


RDFStore documentation  | view source Contained in the RDFStore distribution.

Index


NAME

Top

RDFStore::Vocabulary::Generator - implementation of the Vocabulary Generator RDF API

SYNOPSIS

Top

 use RDFStore::Vocabulary::Generator;
my $generator = new RDFStore::Vocabulary::Generator();
# see vocabulary-generator.pl
$generator->createVocabulary($packageClass, $all, $namespace, $outputDirectory, $factoryStr);

DESCRIPTION

Top

Generate Perl package with constants for resources defined in an RDF (Schema).

METHODS

Top

new()


 This is the constructor for RDFStore::Vocabulary::Generator.

createVocabulary(PACKAGECLASS, SCHEMA, NAMESPACE, OUTPUTDIRECTORY, NODE_FACTORY )
 Generates a Perl 5 package (module) named PACKAGECLASS using SCHEMA in OUTPUTDIRECTORY using NODE_FACTORY.
 Properties and resources are prefixed with NAMESPACE.

SEE ALSO

Top

RDFStore::Vocabulary::RDF(3) RDFStore::Vocabulary::RDFS(3) RDFStore::Vocabulary::DC(3) RDFStore::Vocabulary::DAML(3) RDFStore::SchemaModel(3)

AUTHOR

Top

	Alberto Reggiori <areggiori@webweaving.org>



RDFStore documentation  | view source Contained in the RDFStore distribution.