Permalink
Browse files

import generated files

  • Loading branch information...
0 parents commit 6b83f9f956e91de6d93e79da414674d0d0403552 Chris Prather committed Jun 19, 2009
Showing with 882 additions and 0 deletions.
  1. +9 −0 MyApp/Any_element.pm
  2. +48 −0 MyApp/Dependency.pm
  3. +61 −0 MyApp/File.pm
  4. +126 −0 MyApp/Item.pm
  5. +178 −0 MyApp/Manifest.pm
  6. +61 −0 MyApp/Metadata.pm
  7. +100 −0 MyApp/Organization.pm
  8. +61 −0 MyApp/Organizations.pm
  9. +126 −0 MyApp/Resource.pm
  10. +61 −0 MyApp/Resources.pm
  11. +17 −0 MyApp/Schema.pm
  12. +17 −0 MyApp/Schemaversion.pm
  13. +17 −0 MyApp/Title.pm
@@ -0,0 +1,9 @@
+package MyApp::Any_element;
+use Moose;
+use MooseX::AttributeHelpers;
+use XML::Toolkit;
+
+
+no Moose;
+1;
+__END__
@@ -0,0 +1,48 @@
+package MyApp::Dependency;
+use Moose;
+use MooseX::AttributeHelpers;
+use XML::Toolkit;
+
+has 'any_attribute' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "any_attribute",
+ node_type => "attribute",
+ Name => "any_attribute",
+ NamespaceURI => "",
+ sort_order => 0,
+ },
+);
+has 'any_element_collection' => (
+ isa => 'ArrayRef[MyApp::Any_element]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_any_element' },
+ description => {
+ sort_order => 1,
+ },
+);
+has 'identifierref' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "identifierref",
+ node_type => "attribute",
+ Name => "identifierref",
+ NamespaceURI => "",
+ sort_order => 2,
+ },
+);
+
+no Moose;
+1;
+__END__
@@ -0,0 +1,61 @@
+package MyApp::File;
+use Moose;
+use MooseX::AttributeHelpers;
+use XML::Toolkit;
+
+has 'any_attribute' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "any_attribute",
+ node_type => "attribute",
+ Name => "any_attribute",
+ NamespaceURI => "",
+ sort_order => 0,
+ },
+);
+has 'any_element_collection' => (
+ isa => 'ArrayRef[MyApp::Any_element]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_any_element' },
+ description => {
+ sort_order => 1,
+ },
+);
+has 'href' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "href",
+ node_type => "attribute",
+ Name => "href",
+ NamespaceURI => "",
+ sort_order => 2,
+ },
+);
+has 'metadata_collection' => (
+ isa => 'ArrayRef[MyApp::Metadata]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_metadata' },
+ description => {
+ sort_order => 3,
+ },
+);
+
+no Moose;
+1;
+__END__
@@ -0,0 +1,126 @@
+package MyApp::Item;
+use Moose;
+use MooseX::AttributeHelpers;
+use XML::Toolkit;
+
+has 'any_attribute' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "any_attribute",
+ node_type => "attribute",
+ Name => "any_attribute",
+ NamespaceURI => "",
+ sort_order => 0,
+ },
+);
+has 'any_element_collection' => (
+ isa => 'ArrayRef[MyApp::Any_element]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_any_element' },
+ description => {
+ sort_order => 1,
+ },
+);
+has 'identifier' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "identifier",
+ node_type => "attribute",
+ Name => "identifier",
+ NamespaceURI => "",
+ sort_order => 2,
+ },
+);
+has 'identifierref' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "identifierref",
+ node_type => "attribute",
+ Name => "identifierref",
+ NamespaceURI => "",
+ sort_order => 3,
+ },
+);
+has 'isvisible' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "isvisible",
+ node_type => "attribute",
+ Name => "isvisible",
+ NamespaceURI => "",
+ sort_order => 4,
+ },
+);
+has 'item_collection' => (
+ isa => 'ArrayRef[MyApp::Item]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_item' },
+ description => {
+ sort_order => 5,
+ },
+);
+has 'metadata_collection' => (
+ isa => 'ArrayRef[MyApp::Metadata]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_metadata' },
+ description => {
+ sort_order => 6,
+ },
+);
+has 'parameters' => (
+ isa => 'Str',
+ is => 'ro',
+ traits => [ 'XML' ],
+ description => {
+ Prefix => "",
+ LocalName => "parameters",
+ node_type => "attribute",
+ Name => "parameters",
+ NamespaceURI => "",
+ sort_order => 7,
+ },
+);
+has 'title_collection' => (
+ isa => 'ArrayRef[MyApp::Title]',
+ is => 'ro',
+ traits => [ 'XML' ],
+ metaclass => 'Collection::Array',
+ lazy => 1,
+ auto_deref => 1,
+ default => sub { [] },
+ provides => { push => 'add_title' },
+ description => {
+ sort_order => 8,
+ },
+);
+
+no Moose;
+1;
+__END__
Oops, something went wrong.

0 comments on commit 6b83f9f

Please sign in to comment.