1package W3C::XHTML::p; 2use Moose; 3use MooseX::AttributeHelpers; 4 5has 'a_collection' => ( 6 isa => 'ArrayRef[W3C::XHTML::a]', 7 is => 'ro', 8 traits => [ 'XML' ], 9 metaclass => 'Collection::Array', 10 lazy => 1, 11 auto_deref => 1, 12 default => sub { [] }, 13 provides => { push => 'a' }, 14 description => { 15 sort_order => 0, 16 }, 17); 18has 'br_collection' => ( 19 isa => 'ArrayRef[W3C::XHTML::br]', 20 is => 'ro', 21 traits => [ 'XML' ], 22 metaclass => 'Collection::Array', 23 lazy => 1, 24 auto_deref => 1, 25 default => sub { [] }, 26 provides => { push => 'br' }, 27 description => { 28 sort_order => 1, 29 }, 30); 31has 'math_collection' => ( 32 isa => 'ArrayRef[W3C::MathML::math]', 33 is => 'ro', 34 traits => [ 'XML' ], 35 metaclass => 'Collection::Array', 36 lazy => 1, 37 auto_deref => 1, 38 default => sub { [] }, 39 provides => { push => 'math' }, 40 description => { 41 sort_order => 2, 42 }, 43); 44has 'small_collection' => ( 45 isa => 'ArrayRef[W3C::XHTML::small]', 46 is => 'ro', 47 traits => [ 'XML' ], 48 metaclass => 'Collection::Array', 49 lazy => 1, 50 auto_deref => 1, 51 default => sub { [] }, 52 provides => { push => 'small' }, 53 description => { 54 sort_order => 3, 55 }, 56); 57has 'svg_collection' => ( 58 isa => 'ArrayRef[W3C::SVG::svg]', 59 is => 'ro', 60 traits => [ 'XML' ], 61 metaclass => 'Collection::Array', 62 lazy => 1, 63 auto_deref => 1, 64 default => sub { [] }, 65 provides => { push => 'svg' }, 66 description => { 67 sort_order => 4, 68 }, 69); 70has 'text' => ( 71 isa => 'Str', 72 is => 'rw', 73 traits => [ 'XML' ], 74 description => { 75 sort_order => 5, 76 }, 77); 78 79no Moose; 801; 81__END__ 82