File Coverage

blib/lib/XML/EPP/Domain/NS.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package XML::EPP::Domain::NS;
2              
3 1     1   2800 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             with 'XML::EPP::Domain::Node';
6              
7             has_element 'host_objs' =>
8             is => 'ro',
9             isa => 'ArrayRef[XML::EPP::Common::labelType]',
10             xml_nodeName => 'hostObj',
11             ;
12              
13             has_attr 'host_attrs' =>
14             is => 'ro',
15             isa => 'ArrayRef[XML::EPP::Domain::HostAttr]',
16             ;
17              
18             1;
19              
20             =head1 NAME
21              
22             ? - implement ?
23              
24             =head1 SYNOPSIS
25              
26             TODO
27              
28             =head1 DESCRIPTION
29              
30             ...
31              
32             =head2 XML Schema Definition
33              
34             <!--
35             Name servers are either host objects or attributes.
36             -->
37             <complexType name="nsType">
38             <choice>
39             <element name="hostObj" type="eppcom:labelType"
40             maxOccurs="unbounded"/>
41             <element name="hostAttr" type="domain:hostAttrType"
42             maxOccurs="unbounded"/>
43             </choice>
44             </complexType>
45              
46             =cut