logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RDF::vCard::Entity::WithXmlSupport - subclass of RDF::vCard::Entity

Author

       Toby Inkster <tobyink@cpan.org>.

Description

       Subclass of RDF::vCard::Entity with XML output support.

       Requires XML::LibXML.

   Constructor
       •   new(%options)

           As per RDF::vCard::Entity.

       •   promote($entity)

           Clones an existing RDF::vCard::Entity, but adds XML support.

   Methods
       As per RDF::vCard::Entity, but also:

       •   to_xml()

           Formats the object according to the vCard XML Internet Draft.

       •   add_to_document($document)

           Given  an  XML::LibXML::Document  object,  adds the vCard data to the document as a child of the root
           element.

Name

       RDF::vCard::Entity::WithXmlSupport - subclass of RDF::vCard::Entity

See Also

See Also