Jonathan Colwell wrote:
Hi Jan and Karim,

Sorry I wasn't clear, I did everything using Java 1.5 since I mostly
work on the Beehive project which makes use of the Annotation feature
added in 1.5.  I think you can still use the sample if you recompile the
XmlBeanSerializer classes using 1.4 since those classes don't use any of
the 1.5 features.

Hi Jonathan.

OK. Thanx for pointing that out. I was beginning to doubt my abilty to press a button.

grab the XmlBean serialization classes from the following location and
compile them with 1.4 and you should be in good shape.

http://svn.apache.org/repos/asf/incubator/beehive/trunk/wsm/src/runtime/
org/apache/beehive/wsm/axis/util/encoding/

I did so (did so a while a go when you posted this first). It wont compile on 1.4 because of lines like:


# for (XmlObject kid : children) {

# private static <T extends XmlObject> T[] selectChildren(XmlObject
#       parent,Class<T> childClass)

I guess the first one is 1.5 Syntax for: int i=0; i< size; i++

But what does the second <T> mean? How can I express this with 1.4 Java?


Jan

Reply via email to