File Coverage

blib/lib/XML/EPP/Host/Status.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::Host::Status;
2              
3 1     1   2805 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             with 'XML::EPP::Host::Node';
6              
7             use PRANG::XMLSchema::Types;
8              
9             has_attr "status" =>
10             is => "ro",
11             isa => "XML::EPP::Host::statusValueType",
12             required => 1,
13             xml_name => "s",
14             ;
15              
16             has_attr "lang" =>
17             is => "ro",
18             isa => "PRANG::XMLSchema::language",
19             default => "en",
20             ;
21              
22             has_element "description" =>
23             is => "ro",
24             isa => "PRANG::XMLSchema::normalizedString",
25             xml_nodeName => "",
26             ;
27              
28             use Moose::Util::TypeConstraints;
29             subtype "XML::EPP::Host::statusType" => as __PACKAGE__;
30              
31             1;
32              
33             =head1 NAME
34              
35             XML::EPP::Host::Status - implement statusType
36              
37             =head1 SYNOPSIS
38              
39             TODO
40              
41             =head1 DESCRIPTION
42              
43             ...
44              
45             =head2
46              
47             <!--
48             Status is a combination of attributes and an optional human-readable
49             message that may be expressed in languages other than English.
50             -->
51             <complexType name="statusType">
52             <simpleContent>
53             <extension base="normalizedString">
54             <attribute name="s" type="host:statusValueType"
55             use="required"/>
56             <attribute name="lang" type="language"
57             default="en"/>
58             </extension>
59             </simpleContent>
60             </complexType>
61              
62             =cut