NAME
PRANG::Cookbook::Node - Baseclass for nodes in the Cookbook series
SYNOPSIS
package PRANG::Cookbook::Node;
use Moose::Role;
with 'PRANG::Graph::Class';
sub xmlns { } # no namespaces required.
1;
DESCRIPTION
This class is just a base class for every node in the Cookbook series. It contains nothing more than what is shown above and just inherits from Moose::Role and mixes in PRANG::Graph::Class.
It also overrides the xmlns method to define that these nodes do not have namespaces (as a default). Instead if a node chooses to define what namespace it should be in, it is welcome to override this method too.