NAME
POE::XUL::TextNode - XUL TextNode
SYNOPSIS
use POE::XUL::Node;
use POE::XUL::TextNode;
my $node = POE::XUL::TextNode->new( "Just some text" );
my $desc = Description( "This is my description node" );
print $desc->firstChild->nodeValue;
DESCRIPTION
POE::XUL::CDATA instances is are objects for holding and manipulating plain text. This permits mixed-mode nodes, that is nodes that contain both text and other nodes.
METHODS
new
my $textnode = POE::XUL::TextNode->new( "Some Text" );
nodeValue
my $text = $textnode->nodeValue;
value
Synonym for "nodeValue".
as_xml
my $escaped_text = $textnode->as_xml;
children
Returns an empty array.
dispose
Does nothing.
AUTHOR
Philip Gwyn <gwyn-at-cpan.org>
CREDITS
Based on XUL::Node by Ran Eilam.
COPYRIGHT AND LICENSE
Copyright 2007-2008 by Philip Gwyn. All rights reserved;
Copyright 2003-2004 Ran Eilam. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl(1), POE::XUL, POE::XUL::Node, POE::XUL::CDATA.