Pulling PrivateData from Packet

I have some custom XML data that I need to recieve via Smack, and I’m having trouble grabbing it. I overrode an IQProvider and parsed the information correctly, and I added a PacketListener to grab the packet. When I debug, I see that the incoming packet has a PrivateData object attached to it, and it has to correct information, but I’m not able to pull the PrivateData from it.

I tried using packet.getExtension, but no go. Any help would be greatly appreciated, and let me know if the information given is too vague.