The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

Extends "DESCRIPTION" in Net::Domain::SMD.

METHODS

Extends "METHODS" in Net::Domain::SMD.

Constructors

Extends "Constructors" in Net::Domain::SMD.

Net::Domain::SMD::File->fromFile($filename, %options)
 -Option --Default
  schemas  <required>
schemas => SCHEMAS
Net::Domain::SMD::File->fromNode($node, %options)

Inherited, 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

Extends "Attributes" in Net::Domain::SMD.

$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()

Inherited, see "Attributes" in Net::Domain::SMD

XML content access

Extends "XML content access" in Net::Domain::SMD.

$obj->certificates(%options)

Inherited, see "XML content access" in Net::Domain::SMD

$obj->courts()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->from()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->fromTime()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->issuer()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->smdID()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->trademarks()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->treaties()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->until()

Inherited, see "XML content access" in Net::Domain::SMD

$obj->untilTime()

Inherited, see "XML content access" in Net::Domain::SMD

Helpers

Extends "Helpers" in Net::Domain::SMD.

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

Inherited, see "Helpers" in Net::Domain::SMD

SEE ALSO

This module is part of Net-Domain-TMCH distribution version 0.18, built on December 30, 2015. 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-2015 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