PRANG::Graph::Text - accept an XML TextNode
See PRANG::Graph::Meta::Element source and PRANG::Graph::Node for examples and information.
This graph node specifies that the XML graph at this point may contain a text node. If it doesn't, this is considered equivalent to a zero-length text node.
If the element only has only complex children, it will not have one of these objects in its graph.
Along with PRANG::Graph::Element, this graph node is the only type which may actually consume input XML nodes or emit them on output. The other node types merely change the state in the PRANG::Graph::Context object.
Used when emitting; specifies the method to call to retrieve the item to be output. Also used when parsing, to return the Moose attribute slot for construction.
PRANG::Graph::Meta::Class, PRANG::Graph::Meta::Element, PRANG::Graph::Context, PRANG::Graph::Node
Development commissioned by NZ Registry Services, and carried out by Catalyst IT - http://www.catalyst.net.nz/
Copyright 2009, 2010, NZ Registry Services. This module is licensed under the Artistic License v2.0, which permits relicensing under other Free Software licenses.
To install PRANG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PRANG
CPAN shell
perl -MCPAN -e shell install PRANG
For more information on module installation, please visit the detailed CPAN module installation guide.