summaryrefslogtreecommitdiff
path: root/lib/Tree/Template/Declare/DAG_Node.pm
diff options
context:
space:
mode:
authorGianni Ceccarelli <dakkar@dechirico.(none)>2009-04-21 15:25:44 +0200
committerGianni Ceccarelli <dakkar@dechirico.(none)>2009-04-21 15:25:44 +0200
commitca60f18e9906e84355287ac427f5f9e6e6b36b41 (patch)
tree40f5fd9a1cd904ff4b1fbc62cb6ddd378736102a /lib/Tree/Template/Declare/DAG_Node.pm
parentdoc about importing (diff)
downloadTree-Template-Declare-ca60f18e9906e84355287ac427f5f9e6e6b36b41.tar.gz
Tree-Template-Declare-ca60f18e9906e84355287ac427f5f9e6e6b36b41.tar.bz2
Tree-Template-Declare-ca60f18e9906e84355287ac427f5f9e6e6b36b41.zip
docs, and changed the export-munging methods for builders
Diffstat (limited to 'lib/Tree/Template/Declare/DAG_Node.pm')
-rw-r--r--lib/Tree/Template/Declare/DAG_Node.pm28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/Tree/Template/Declare/DAG_Node.pm b/lib/Tree/Template/Declare/DAG_Node.pm
index 806413d..2736a5f 100644
--- a/lib/Tree/Template/Declare/DAG_Node.pm
+++ b/lib/Tree/Template/Declare/DAG_Node.pm
@@ -54,3 +54,31 @@ sub set_node_attributes {
}
1;
+__END__
+
+=head1 NAME
+
+Tree::Template::Declare::DAG_Node
+
+=head1 SYNOPSIS
+
+See L<Tree::Template::Declare>.
+
+=head1 SPECIFICITIES
+
+This module will build trees using L<Tree::DAG_Node>. You can make it
+use another module (assuming it has the same interface, for example
+L<Tree::DAG_Node::XPath>) by passing the class name to the C<new>
+method.
+
+ use Tree::Template::Declare builder => '+DAG_Node'; # default
+
+ use Tree::Template::Declare builder =>
+ Tree::Template::Declare::DAG_Node->new('Tree::DAG_Node::XPath');
+ # custom class
+
+=head1 AUTHOR
+
+Gianni Ceccarelli <dakkar@thenautilus.net>
+
+=cut