[
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.