| Bio::Phylo::Meta::XMLLiteral - Annotation value adaptor, no direct usage |
# no direct usage
No direct usage, is used internally by the Bio::Phylo::Meta manpage to wrap objects into a common adaptor class for serialization to XML.
new()
Type : Constructor Title : new Usage : my $lit = Bio::Phylo::Meta::XMLLiteral->new; Function: Initializes a Bio::Phylo::Meta::XMLLiteral object. Returns : A Bio::Phylo::Meta::XMLLiteral object. Args : An object (or array ref of objects) to wrap, either a 'RDF::Core::Model' (or subclass), an 'XML::XMLWriter' or (subclass) or any of the following serialization methods used for duck-typing one of the following classes: Bio::Phylo => to_xml, XML::DOM, XML::GDOME, XML::LibXML => toString, XML::Twig => sprint, XML::DOM2 => xmlify, XML::DOMBacked => as_xml, XML::Handler => dump_tree, XML::Element => as_XML XML::API => _as_string, XML::Code => code
to_xml()
Serializes invocant to xml.
Type : Serializer Title : to_xml Usage : my $xml = $obj->to_xml; Function: Turns the invocant object (and its descendants) into an XML string. Returns : SCALAR Args : NONE
Also see the manual: the Bio::Phylo::Manual manpage and http://rutgervos.blogspot.com.
$Id: Annotation.pm 1040 2009-05-28 04:26:49Z rvos $
| Bio::Phylo::Meta::XMLLiteral - Annotation value adaptor, no direct usage |