| 1 | |||
| 2 | package XML::EPP::Contact::E164; | ||
| 3 | |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 0 | ▶ | use MooseX::Method::Signatures; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 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 | ||