| 1 | package XML::EPP::Contact::Status; | ||
| 2 | |||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | with 'XML::EPP::Contact::Node'; | ||
| 6 | |||
| 7 | 1 | ▶ | use PRANG::XMLSchema::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | 1 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | ||