If datums are under "Content XML" then it is pretty straight forward to get the datum values in your Java class.
If datums are under the "Appearance XML" then it may be possible to get if you retrieve the component XML via your Java class and then parse out whatever datum you need. There is no directly exposed API/method to get these types of datums.