Conversion to 2.6
Looking for an equivalent to the AdvertisementFactory.newAdvertisement() method.
I have been using it to do some of my persistence of Advertisement types.
There seem to be quite a few methods that have been deleted, but there is no documentation on what has been changed. Where is the documentation on how to migrated?
Here is an example of what I was doing to read an Advertisement:
Reader advReader = new InputStreamReader(advStream, "UTF-8");
PresenceAdv pc = (PresenceAdv)AdvertisementFactory.newAdvertisement(MimeMediaType.XMLUTF8, advReader);