OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: Re: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Articl

[ Lists Home | Date Index | Thread Index ]

> Translation: Source isn't any more useful than just using
> java.lang.Object

There is one advantage. If you hand the transform() method a Date, or a
List, or a Gremlin, you will get a compile time type error. For me, that's a
good enough reason to invent a marker interface rather than using Object.

Michael Kay


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS