XML::Generator::vCard::Base - base class for generating SAX2 events for vCard data


XML-Generator-vCard-Base documentation  | view source Contained in the XML-Generator-vCard-Base distribution.

Index


NAME

Top

XML::Generator::vCard::Base - base class for generating SAX2 events for vCard data

SYNOPSIS

Top

 # Ceci n'est pas une boite noire.

 package XML::Generator::vCard::FooBar;
 use base qw (XML::Generator::vCard::Base);

DESCRIPTION

Top

Base class for generating SAX2 events for vCard data

PACKAGE METHODS

Top

__PACKAGE__->prepare_uri($uri)

Encodes (decoding first, where necessary) a URI's path as UTF-8.

Returns a string.

__PACKAGE__->prepare_qname($qname)

Utility method to return a hash reference suitable for passing a XML QName to XML::SAX.

Returns a hash reference.

__PACKAGE__->prepare_attrs(\%attrs)

Utility method to return a hash reference suitable for passing XML attributes to XML::SAX.

Returns a hash reference.

__PACKAGE__->namespaces()

Returns a hash reference of commonly used prefixes and namespace URIs.

VERSION

Top

1.0

DATE

Top

$Date: 2004/12/28 21:49:53 $

AUTHOR

Top

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO

Top

XML::SAX

LICENSE

Top

Copyright (c) Aaron Straup Cope. All rights reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.


XML-Generator-vCard-Base documentation  | view source Contained in the XML-Generator-vCard-Base distribution.