NAME

Net::Domain::SMD::File - SMD info contained in a file

INHERITANCE

 Net::Domain::SMD::File
   is a Net::Domain::SMD

SYNOPSIS

  # end-user route to collect the info
  my $tmch  = Net::Domain::TMCH->new(%options);
  my $smdf  = $tmch->smd($filename);

  # used by TMCH internally via ::SMD
  my $smd  = Net::Domain::SMD::Schema->new(%options);
  my $smdf = $smd->read($fn);

  # used by ::SMD internally as
  my $smdf = Net::Domain::SMD->fromFile($fn, schemas => $smd->schemas);

  # See Net::Domain::SMD for generic interface

DESCRIPTION

Draft RFC http://tools.ietf.org/html/draft-lozano-tmch-func-spec-06 SMD information is packaged. This object represents one file in wrapped format.

See documentation in the base class.

METHODS

See documentation in the base class.

Constructors

See documentation in the base class.

Net::Domain::SMD::File->fromFile(FILENAME, OPTIONS)
 -Option --Default
  schemas  <required>
schemas => SCHEMAS
Net::Domain::SMD::File->fromNode(NODE, OPTIONS)

See "Constructors" in Net::Domain::SMD

Net::Domain::SMD::File->new(OPTIONS)
 -Option  --Defined in      --Default
  data      Net::Domain::SMD  <required>
  filename                    <required>
  payload   Net::Domain::SMD  <required>
data => HASH
filename => FILENAME
payload => XML-NODE

Attributes

See documentation in the base class.

$obj->filename()
$obj->labels()

Returns a list of u-labels.

$obj->marks()

Returns the marks named in the "Marks" field. The name insinuates that this field may contains multiple values, but the format of this field is not described in the spec.

$obj->payload()

See "Attributes" in Net::Domain::SMD

XML content access

See documentation in the base class.

$obj->certificates(OPTIONS)

See "XML content access" in Net::Domain::SMD

$obj->courts()

See "XML content access" in Net::Domain::SMD

$obj->from()

See "XML content access" in Net::Domain::SMD

$obj->fromTime()

See "XML content access" in Net::Domain::SMD

$obj->issuer()

See "XML content access" in Net::Domain::SMD

$obj->smdID()

See "XML content access" in Net::Domain::SMD

$obj->trademarks()

See "XML content access" in Net::Domain::SMD

$obj->treaties()

See "XML content access" in Net::Domain::SMD

$obj->until()

See "XML content access" in Net::Domain::SMD

$obj->untilTime()

See "XML content access" in Net::Domain::SMD

Helpers

See documentation in the base class.

$obj->date2time(STRING)
Net::Domain::SMD::File->date2time(STRING)

See "Helpers" in Net::Domain::SMD

SEE ALSO

This module is part of Net-Domain-TMCH distribution version 0.17, built on January 13, 2014. Development was supported by NIC.at, the Austrian Domainname Registry.

 Website: F<http://perl.overmeer.net/net-domain-tmch/>

The documentation and interface style is consistent with a large set of modules, belonging to the XML::Compile suite.

LICENSE

Copyrights 2013-2014 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html