| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package XML::EPP::Domain::HostAttr; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 2471 | use Moose; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 4 |  |  |  |  |  |  | use PRANG::Graph; | 
| 5 |  |  |  |  |  |  | with 'XML::EPP::Domain::Node'; | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | has_element 'name' => | 
| 8 |  |  |  |  |  |  | is => 'ro', | 
| 9 |  |  |  |  |  |  | isa => 'XML::EPP::Common::labelType', | 
| 10 |  |  |  |  |  |  | xml_nodeName => 'hostName', | 
| 11 |  |  |  |  |  |  | ; | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | has_attr 'addrs' => | 
| 14 |  |  |  |  |  |  | is => 'ro', | 
| 15 |  |  |  |  |  |  | isa => 'ArrayRef[XML::EPP::Host::Address]', | 
| 16 |  |  |  |  |  |  | xml_required => 0, | 
| 17 |  |  |  |  |  |  | ; | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | #use Moose::Util::TypeConstraints; | 
| 20 |  |  |  |  |  |  | #subtype "XML::EPP::Domain::statusType" => as __PACKAGE__; | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | 1; | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =head1 NAME | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | ? - implement ? | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | TODO | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | ... | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head2 XML Schema Definition | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | <!-- | 
| 39 |  |  |  |  |  |  | If attributes, addresses are optional and follow the | 
| 40 |  |  |  |  |  |  | structure defined in the host mapping. | 
| 41 |  |  |  |  |  |  | --> | 
| 42 |  |  |  |  |  |  | <complexType name="hostAttrType"> | 
| 43 |  |  |  |  |  |  | <sequence> | 
| 44 |  |  |  |  |  |  | <element name="hostName" type="eppcom:labelType"/> | 
| 45 |  |  |  |  |  |  | <element name="hostAddr" type="host:addrType" | 
| 46 |  |  |  |  |  |  | minOccurs="0" maxOccurs="unbounded"/> | 
| 47 |  |  |  |  |  |  | </sequence> | 
| 48 |  |  |  |  |  |  | </complexType> | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | =cut |