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


Manual Reference Pages  -  XML::PASTOR::META (3)

.ds Aq ’

NAME

XML::Pastor::Meta - Ancestor of the generated ::Pastor::Meta classes.

CONTENTS

ISA

This class descends from Class::Accessor and Class::Data::Inheritable

SYNOPSIS



  # please see the documentation of XML::Pastor



DESCRIPTION

<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.

CONSTRUCTORS

new(%args)

Creates and initializes the object.

CLASS METHODS

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.

BUGS & CAVEATS

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.

AUTHOR

Ayhan Ulusoy <dev(at)ulusoy(dot)name>

COPYRIGHT



  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

See also XML::Pastor
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::PASTOR::META (3) 2008-08-02

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