Package org.jivesoftware.smack.provider
Class IQProvider<I extends IQ>
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<I>
-
- org.jivesoftware.smack.provider.IqProvider<I>
-
- org.jivesoftware.smack.provider.IQProvider<I>
-
- Direct Known Subclasses:
AbstractHttpOverXmppProvider
,AdHocCommandDataProvider
,AgentChatHistory.InternalProvider
,AgentInfo.Provider
,AgentStatusRequest.Provider
,AgentWorkgroups.Provider
,BindIQProvider
,BlockContactsIQProvider
,BlockListIQProvider
,BoBIQProvider
,BytestreamsProvider
,ChatMetadata.Provider
,ChatNotes.Provider
,ChatSettings.InternalProvider
,ClearCacheProvider
,ClearCacheResponseProvider
,CloseIQProvider
,DataPacketProvider.IQProvider
,DiscoverItemsProvider
,DnsIqProvider
,GenericSettings.InternalProvider
,IntrospectionProvider.IQIntrospectionProvider
,IoTClaimedProvider
,IoTDataReadOutAcceptedProvider
,IoTDataRequestProvider
,IoTDisownedProvider
,IoTDisownProvider
,IoTIsFriendProvider
,IoTIsFriendResponseProvider
,IoTRegisterProvider
,IoTRemovedProvider
,IoTRemoveProvider
,IoTSetRequestProvider
,IoTSetResponseProvider
,IoTUnregisterProvider
,JidPrepIqProvider
,JingleProvider
,LastActivity.Provider
,Macros.InternalProvider
,MamFinIQProvider
,MamPrefsIQProvider
,MamQueryIQProvider
,MonitorPacket.InternalProvider
,MUCAdminProvider
,MUCLightAffiliationsIQProvider
,MUCLightBlockingIQProvider
,MUCLightConfigurationIQProvider
,MUCLightInfoIQProvider
,MUCOwnerProvider
,OccupantsInfo.Provider
,OfferConfirmation.Provider
,OfferRequestProvider
,OfferRevokeProvider
,OfflineMessageRequest.Provider
,OfflineSettings.InternalProvider
,OpenIQProvider
,PingProvider
,PrivacyProvider
,PrivateDataManager.PrivateDataIQProvider
,PubSubProvider
,RegistrationProvider
,RosterPacketProvider
,RTPBridge.Provider
,SearchSettings.InternalProvider
,SharedGroupsInfo.Provider
,SlotProvider
,SoundSettings.InternalProvider
,StreamInitiationProvider
,STUN.Provider
,TranscriptProvider
,TranscriptSearch.Provider
,TranscriptsProvider
,UnblockContactsIQProvider
,UserSearch.Provider
,VCardProvider
,VersionProvider
,WorkgroupForm.InternalProvider
,WorkgroupProperties.InternalProvider
public abstract class IQProvider<I extends IQ> extends IqProvider<I>
Deprecation Notice: This class is deprecated, use
An abstract class for parsing custom IQ packets. Each IQProvider must be registered with the ProviderManager class for it to be used. Every implementation of this abstract class must have a public, no-argument constructor.IqProvider
instead.
-
-
Constructor Summary
Constructors Constructor Description IQProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description I
parse(XmlPullParser parser)
I
parse(XmlPullParser parser, int initialDepth, IqData iqData, XmlEnvironment xmlEnvironment)
abstract I
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
I
parse(XmlPullParser parser, XmlEnvironment outerXmlEnvironment)
-
Methods inherited from class org.jivesoftware.smack.provider.IqProvider
parse, parse
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
IQProvider
public IQProvider()
-
-
Method Detail
-
parse
public final I parse(XmlPullParser parser) throws java.io.IOException, XmlPullParserException, SmackParsingException
- Throws:
java.io.IOException
XmlPullParserException
SmackParsingException
-
parse
public final I parse(XmlPullParser parser, XmlEnvironment outerXmlEnvironment) throws java.io.IOException, XmlPullParserException, SmackParsingException
- Throws:
java.io.IOException
XmlPullParserException
SmackParsingException
-
parse
public final I parse(XmlPullParser parser, int initialDepth, IqData iqData, XmlEnvironment xmlEnvironment) throws XmlPullParserException, java.io.IOException, SmackParsingException
- Specified by:
parse
in classIqProvider<I extends IQ>
- Throws:
XmlPullParserException
java.io.IOException
SmackParsingException
-
parse
public abstract I parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, java.io.IOException, SmackParsingException
- Throws:
XmlPullParserException
java.io.IOException
SmackParsingException
-
-