| 1 | package XML::EPP::Domain::NS::List; | ||
| 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 | |||
| 6 | 0 | ▶ | sub root_element { 'infData' } |
|
Subroutine
root_element: not called CC=1 SCAR=6.9
| |||
| 7 | |||
| 8 | 0 | ▶ | use XML::EPP::Domain::NS; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 9 | has_element 'ns' => | ||
| 10 | is => 'ro', | ||
| 11 | # XXX: This would be a more correct definition (from the spec) but | ||
| 12 | # PRANG doesn't yet let you do this. | ||
| 13 | # isa => 'ArrayRef[XML::EPP::Domain::NS]|ArrayRef[XML::EPP::Common::labelType]', | ||
| 14 | # So instead we do this: | ||
| 15 | isa => 'ArrayRef[XML::EPP::Domain::NS|XML::EPP::Common::labelType]', | ||
| 16 | xml_min => 0, | ||
| 17 | xml_nodeName => { | ||
| 18 | hostAttr => 'XML::EPP::Domain::NS', | ||
| 19 | hostObj => 'XML::EPP::Common::labelType', | ||
| 20 | }, | ||
| 21 | ; | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | ? - implement ? | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | TODO | ||
| 32 | |||
| 33 | =head1 DESCRIPTION | ||
| 34 | |||
| 35 | ... | ||
| 36 | |||
| 37 | =head2 XML Schema Definition | ||
| 38 | |||
| 39 | <!-- | ||
| 40 | Name servers are either host objects or attributes. | ||
| 41 | --> | ||
| 42 | <complexType name="nsType"> | ||
| 43 | <choice> | ||
| 44 | <element name="hostObj" type="eppcom:labelType" | ||
| 45 | maxOccurs="unbounded"/> | ||
| 46 | <element name="hostAttr" type="domain:hostAttrType" | ||
| 47 | maxOccurs="unbounded"/> | ||
| 48 | </choice> | ||
| 49 | </complexType> | ||
| 50 | |||
| 51 | =cut | ||