[
https://issues.apache.org/jira/browse/COCOON3-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666610#action_12666610
]
Carsten Ziegeler commented on COCOON3-14:
-----------------------------------------
Yes, even with this patch it's still possible to mix different component types
and yes, we have to introduce new marker interfaces :) (and yes it was me how
mentioned that there are too many interfaces already...), but if you're just
interested in one component type, e.g. sax, then it's just one additional
interface.
So if noone objects I'll apply the patch in the next days.
> Use generics for pipeline assembly
> ----------------------------------
>
> Key: COCOON3-14
> URL: https://issues.apache.org/jira/browse/COCOON3-14
> Project: Cocoon 3
> Issue Type: Improvement
> Components: cocoon-pipeline
> Reporter: Carsten Ziegeler
> Assignee: Cocoon Developers Team
> Attachments: generics.patch
>
>
> This is a simple patch to add generics to the pipeline interface and impl.
> With additionally introducing marker interfaces for the component types (SAX,
> Stax, dom)
> this would allow compile time checks if all components have the correct type
> when assembling the pipeline.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.