GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XML::Pastor::Meta(3) User Contributed Perl Documentation 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

XML::Pastor::Meta is the ancestor of the generated ::Pastor::Meta classes.

Suppose you use XML::Pastor for code generation with a class prefix of MyApp::Data. 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 'Model' that was used to generate code. 'Model' 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 ' xml_item_class()' which helps you determine the generated Perl class of a given global element or type in the schema.

new(%args)

Creates and initializes the object.

Model()

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.

There no known bugs at this time, but this doesn't mean there are aren't 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
2008-08-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.