NAME
Net::Domain::SMD::File - Info from one SMD 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>
- Net::Domain::SMD::File->fromNode(NODE, OPTIONS)
- Net::Domain::SMD::File->new(OPTIONS)
-
-Option --Defined in --Default data Net::Domain::SMD <required> filename <required> payload Net::Domain::SMD <required>
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()
XML content access
See documentation in the base class.
- $obj->certificates(OPTIONS)
- $obj->courts()
- $obj->from()
- $obj->fromTime()
- $obj->issuer()
- $obj->trademarks()
- $obj->treaties()
- $obj->until()
- $obj->untilTime()
Helpers
See documentation in the base class.
File header access
The SMD-file contains a header, wrapping the XML content. The next methods provide access to that header information.
SEE ALSO
This module is part of Net-Domain-TMCH distribution version 0.14, built on October 28, 2013. 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 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