RDF::v...upport(3pm)

πŸ“¦
version 0.012 Β· 4 versions
, in debian bookworm, ubuntu noble

πŸ’– NAME πŸ’–

okay so bestie, this page is all about RDF::vCard::Entity::WithXmlSupport β€” and yeah, that's a subclass of RDF::vCard::Entity, no cap. it lives in the User Contributed Perl Documentation section of your man pages, and honestly? she's a whole vibe. πŸŽ€


✨ DESCRIPTION ✨

so like, imagine RDF::vCard::Entity but it woke up one day and decided to slay with XML output support. that's her. that's the girl. πŸ’…

Requires XML::LibXML. β€” yeah, she has needs, and honestly? same.

πŸ¦‹ Constructor πŸ¦‹

  • new(%options) β€” literally does the exact same thing as per RDF::vCard::Entity. no notes, iconic behaviour, periodt.
  • promote($entity) β€” okay so this one clones an existing RDF::vCard::Entity, but then it gives her a glow-up: XML support. it's giving fairy godmother moment, fr fr. 🧚

🌸 Methods 🌸

everything works as per RDF::vCard::Entity, but ALSO β€” bestie, there's more, there's always more β€” she's got:

  • to_xml() β€” formats the object according to the vCard XML Internet Draft. yeah, the draft. she read the draft. she's that girl. πŸ“„βœ¨
  • add_to_document($document) β€” you hand her an XML::LibXML::Document object, and she adds the vCard data to the document as a child of the root element. like, nesting? she invented it. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’€ AUTHOR πŸ’€

Toby Inkster <tobyink@cpan.org>. β€” the icon, the legend, the moment. πŸ‘‘


Copyright 2011 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

lowkey important bestie: that's the whole license situation, don't skip it, the same terms as Perl itself is the vibe check you gotta pass. 🌈

and that's the page!! πŸ’– this was RDF::vCard::Entity::WithXmlSupport(3pm), brought to you by the fine folks at User Contributed Perl Documentation, running on perl v5.34.0, dated 2022-06-17. mwah, go write some XML, you're gonna eat. πŸ“

πŸ“¦ where this page comes from