28Copyright © 2000-2001 Profile Consulting Inc.28
Using Reflection

The DOM and SAX APIs can be cumbersome, because they are oriented towards XML rather than our programming.
Extrapolate from these little examples to see the problem.
Java's Reflection mechanism, in java.lang.reflect, provides a powerful mechanism for bridging the gap between XML's syntactic orientation and a convenient model for programming.