You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/10/09 11:54:16 UTC
DO NOT REPLY [Bug 23694] New: -
[PATCH] TraversableSourceDescriptionGenerator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23694
[PATCH] TraversableSourceDescriptionGenerator
Summary: [PATCH] TraversableSourceDescriptionGenerator
Product: Cocoon 2
Version: Current CVS 2.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: unico@hippo.nl
The SourceDescriptionGenerator located in the slide block currently manages its
own way of traversing a source tree and outputs that structure within its own
namespace. This new class, TraversableSourceDescriptionGenerator, instead bases
itself on TraversableGenerator, using that namespace and augmenting
TraversableGenerator's output with additional information on the encountered
sources depending on what interfaces the source implements and whether the
generator is configured to output that type of data.
Besides the TraversableSourceDescriptionGenerator.java file the patch also
includes a small improvement to TraversableGenerator so that subclasses can more
easily augment its output. This results in XPathTraversable not having to
duplicate a large lump of code from TraversableGenerator anymore.