[Home] [By Thread] [By Date] [Recent Entries]


> 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
http://www.saxonica.com/



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member