PRANG::Graph::Text - accept an XML TextNode
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.
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.