File Coverage

blib/lib/XML/EPP/Contact/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::Contact::Status;
2              
3 1     1   2589 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             with 'XML::EPP::Contact::Node';
6              
7             use PRANG::XMLSchema::Types;
8              
9             has_element 'value' =>
10             is => 'ro',
11             isa => "PRANG::XMLSchema::normalizedString",
12             xml_nodeName => '',
13             ;
14              
15             has_attr 'status' =>
16             is => 'ro',
17             isa => 'XML::EPP::Contact::statusValueType',
18             required => 1,
19             xml_name => 's',
20             ;
21              
22             has_attr "lang" =>
23             is => "ro",
24             isa => "PRANG::XMLSchema::language",
25             default => "en",
26             ;
27              
28             use Moose::Util::TypeConstraints;
29             subtype "XML::EPP::Contact::statusType" => as __PACKAGE__;
30              
31             1;
32              
33             =head1 NAME
34              
35             ? - implement ?
36              
37             =head1 SYNOPSIS
38              
39             TODO
40              
41             =head1 DESCRIPTION
42              
43             ...
44              
45             =head2 XML Schema Definition
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="contact:statusValueType"
55             use="required"/>
56             <attribute name="lang" type="language"
57             default="en"/>
58             </extension>
59             </simpleContent>
60             </complexType>
61              
62             =cut