File Coverage

blib/lib/XML/EPP/Contact/E164.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              
2             package XML::EPP::Contact::E164;
3              
4 1     1   2394 use Moose;
  0            
  0            
5             use MooseX::Method::Signatures;
6             use Moose::Util::TypeConstraints;
7             use PRANG::Graph;
8             use PRANG::XMLSchema::Types;
9              
10             our $SCHEMA_PKG = "XML::EPP::Contact";
11              
12             has_attr 'x' =>
13             is => 'rw',
14             isa => 'PRANG::XMLSchema::token',
15             ;
16              
17             has_element 'content' =>
18             is => 'rw',
19             isa => 'XML::EPP::Contact::e164StringType',
20             xml_nodeName => '',
21             ;
22              
23             with 'XML::EPP::Common::Node';
24              
25             subtype "${SCHEMA_PKG}::pwAuthInfoType"
26             => as __PACKAGE__;
27              
28             1;
29              
30             =head1 NAME
31              
32             XML::EPP::Contact::E164 - implement e164Type
33              
34             =head1 SYNOPSIS
35              
36             TODO
37              
38             =head1 DESCRIPTION
39              
40             ...
41              
42             =head2 XML Schema Definition
43              
44             <complexType name="e164Type">
45             <simpleContent>
46             <extension base="contact:e164StringType">
47             <attribute name="x" type="token"/>
48             </extension>
49             </simpleContent>
50             </complexType>
51              
52             =cut