Hi all

I'm stuck trying to cast node to generic type.
I have a class Pair<E,T>. In my xml I have entries like <size width="175"
height="160"/> and want to parse it to Pair BUT to Pair<Integer, Integer>

If I'll write

digester.addObjectCreate("registry/size", Pair.class)

Digester will cast width/height values to String. How can I specify type for
casting?

--
Best regards,
Traut

Reply via email to