
WWW::Sitemap::XML::Types - Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL

version 1.121160

Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL.

has 'loc' => (
is => 'rw',
isa => Location,
);
URL location, coerced from Uri via { $_->as_string }.
has 'changefreq' => (
is => 'rw',
isa => ChangeFreq,
);
Valid values are:
has 'priority' => (
is => 'rw',
isa => Priority,
);
Subtype of Num with values in range from 0.0 to 1.0.
has 'url' => (
is => 'rw',
isa => SitemapURL,
);
Subtype of Object, argument needs to implement WWW::Sitemap::XML::URL::Interface.
has 'sitemap' => (
is => 'rw',
isa => SitemapIndexSitemap,
);
Subtype of Object, argument needs to implement WWW::SitemapIndex::XML::Sitemap::Interface.

Please see those modules/websites for more information related to this module.

Alex J. G. Burzyński <ajgb@cpan.org>

This software is copyright (c) 2010 by Alex J. G. Burzyński <ajgb@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.