Mark Overmeer > Net-Domain-TMCH-0.17 > Net::Domain::SMD::Schema

Download:
Net-Domain-TMCH-0.17.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.17   Source  

NAME ^

Net::Domain::SMD::Schema - Mark and Signed-Mark Objects Mapping

INHERITANCE ^

 Net::Domain::SMD::Schema
   is a Exporter

SYNOPSIS ^

  # This object is used by Net::Domain::TMCH, so usually not directly
  # accessed by end-users.

  my $smd  = Net::Domain::SMD::Schema->new(%options);
  my $info = $smd->read($fn);

DESCRIPTION ^

Draft RFC http://tools.ietf.org/html/draft-lozano-tmch-smd-02 specifies a way for TLD (domain registries) to exchange mark rights (brand registrations): "SMD"-files.

This module unpacks these SMD-files, decoding the XML contained in them. Each SMD-file is represented by a separate Net::Domain::SMD::File object.

METHODS ^

Constructors

Net::Domain::SMD::Schema->new(OPTIONS)
 -Option       --Default
  auto_datetime  false
  prepare        'READER'
auto_datetime => BOOLEAN

Convert all dateTime fields into DateTime objects.

prepare => 'NONE'|'READER'

Attributes

$obj->schemas()

Actions

Net::Domain::SMD::Schema->from((FILENAME|XMLNODE|STRING), OPTIONS)

Returns an Net::Domain::SMD object and a source string, which represents the xml input data.

$obj->read(FILENAME)

Returns an Net::Domain::SMD::File object, or an exception which can be caught with Log::Report subroutine try or eval.

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

syntax highlighting: