You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tobias Demuth (JIRA)" <ji...@apache.org> on 2008/12/20 23:49:44 UTC
[jira] Created: (DIGESTER-132) Add a CompoundSubstitutor to support
more than one Substitutors at a time
Add a CompoundSubstitutor to support more than one Substitutors at a time
-------------------------------------------------------------------------
Key: DIGESTER-132
URL: https://issues.apache.org/jira/browse/DIGESTER-132
Project: Commons Digester
Issue Type: Improvement
Reporter: Tobias Demuth
Priority: Trivial
At the moment only one Substitutor at a time is allowed to be set. If different classes configure the same Digester - for example due to subclassing - the set Substitutor may be overridden accidently. This can be easily avoided by using a CompoundSubstitutor which simply chains two Substitutors together - any input will be first handled by Substitutor A and then by Substitutor B.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIGESTER-132) Add a CompoundSubstitutor to support
more than one Substitutors at a time
Posted by "Tobias Demuth (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIGESTER-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Demuth updated DIGESTER-132:
-----------------------------------
Attachment: CompoundSubstitutorTest.java
CompoundSubstitutor.java
A prototyp of CompoundSubstitutor and the related JUnit3-testcase.
> Add a CompoundSubstitutor to support more than one Substitutors at a time
> -------------------------------------------------------------------------
>
> Key: DIGESTER-132
> URL: https://issues.apache.org/jira/browse/DIGESTER-132
> Project: Commons Digester
> Issue Type: Improvement
> Reporter: Tobias Demuth
> Priority: Trivial
> Attachments: CompoundSubstitutor.java, CompoundSubstitutorTest.java
>
>
> At the moment only one Substitutor at a time is allowed to be set. If different classes configure the same Digester - for example due to subclassing - the set Substitutor may be overridden accidently. This can be easily avoided by using a CompoundSubstitutor which simply chains two Substitutors together - any input will be first handled by Substitutor A and then by Substitutor B.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.