Manual Reference Pages - XML::PASTOR::META (3)
XML::Pastor::Meta - Ancestor of the generated ::Pastor::Meta classes.
This class descends from Class::Accessor and Class::Data::Inheritable
# please see the documentation of XML::Pastor
<B>XML::Pastor::MetaB> is the ancestor of the generated ::Pastor::Meta classes.
Suppose you use XML::Pastor for code generation with a <B>class prefixB> of <B>MyApp::DataB>. Then,
XML::Pastor will also generate a class that enables you to access meta information about the generated code under MyApp::Data::Pastor::Meta.
Currently, the only information you can access is the <B>ModelB> that was used to generate code.
<B>ModelB> is class data that references to an entire schema model object (of type XML::Schema::Model).
With the help of the generated meta class, you can access the Model which will in turn enable you to
call methods such as <B>B>xml_item_class()<B>B> which helps you determine the generated Perl class of a given global element or
type in the schema.
Creates and initializes the object.
Returns the schema model object (of type XML::Schema::Model) associated with the set of schemas that were
used for the code generation.
You can actually assign a model with this method as well, just by passing a reference as the only argument. But why would you want to do it.
BUGS & CAVEATS
There no known bugs at this time, but this doesnt mean there are arent any.
Note that, although some testing was done prior to releasing the module, this should still be considered alpha code.
So use it at your own risk.
Note that there may be other bugs or limitations that the author is not aware of.
Ayhan Ulusoy <dev(at)ulusoy(dot)name>
Copyright (C) 2006-2008 Ayhan Ulusoy. All Rights Reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
See also XML::Pastor
|perl v5.20.3 ||XML::PASTOR::META (3) ||2008-08-02 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.