| 1 | |||
| 2 | package XML::EPP::Common::Reason; | ||
| 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 | |||
| 9 | our $SCHEMA_PKG = "XML::EPP::Common"; | ||
| 10 | |||
| 11 | has_attr 'lang' => | ||
| 12 | is => "rw", | ||
| 13 | isa => "PRANG::XMLSchema::language", | ||
| 14 | predicate => "has_lang", | ||
| 15 | ; | ||
| 16 | |||
| 17 | has_element 'content' => | ||
| 18 | is => "rw", | ||
| 19 | isa => "${SCHEMA_PKG}::reasonBaseType", | ||
| 20 | xml_nodeName => "", | ||
| 21 | ; | ||
| 22 | |||
| 23 | with "${SCHEMA_PKG}::Node"; | ||
| 24 | |||
| 25 | subtype "${SCHEMA_PKG}::reasonType" | ||
| 26 | => as __PACKAGE__; | ||
| 27 | |||
| 28 | 1; | ||
| 29 | |||
| 30 | =head NAME | ||
| 31 | |||
| 32 | XML::EPP::Common::Reason | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | TODO | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | TODO | ||
| 41 | |||
| 42 | =head2 XML Schema Definition | ||
| 43 | |||
| 44 | <!-- | ||
| 45 | <check> response types. | ||
| 46 | --> | ||
| 47 | <complexType name="reasonType"> | ||
| 48 | <simpleContent> | ||
| 49 | <extension base="eppcom:reasonBaseType"> | ||
| 50 | <attribute name="lang" type="language"/> | ||
| 51 | </extension> | ||
| 52 | </simpleContent> | ||
| 53 | </complexType> | ||
| 54 | |||
| 55 | =cut | ||