Class OpenPgpContentElementProvider<O extends OpenPgpContentElement>
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<O>
org.jivesoftware.smackx.ox.provider.OpenPgpContentElementProvider<O>
- Type Parameters:
O
- Specialized subclass ofOpenPgpContentElement
.
- Direct Known Subclasses:
CryptElementProvider
,SigncryptElementProvider
,SignElementProvider
public abstract class OpenPgpContentElementProvider<O extends OpenPgpContentElement>
extends ExtensionElementProvider<O>
Abstract
ExtensionElementProvider
implementation for the also abstract OpenPgpContentElement
.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract O
parse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) static OpenPgpContentElement
parseOpenPgpContentElement
(String element) static OpenPgpContentElement
protected static OpenPgpContentElementProvider.OpenPgpContentElementData
parseOpenPgpContentElementData
(XmlPullParser parser, int initialDepth) Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
OpenPgpContentElementProvider
public OpenPgpContentElementProvider()
-
-
Method Details
-
parseOpenPgpContentElement
public static OpenPgpContentElement parseOpenPgpContentElement(String element) throws XmlPullParserException, IOException - Throws:
XmlPullParserException
IOException
-
parseOpenPgpContentElement
public static OpenPgpContentElement parseOpenPgpContentElement(XmlPullParser parser) throws XmlPullParserException - Throws:
XmlPullParserException
-
parse
public abstract O parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, SmackParsingException, ParseException - Specified by:
parse
in classProvider<O extends OpenPgpContentElement>
- Throws:
XmlPullParserException
IOException
SmackParsingException
ParseException
-
parseOpenPgpContentElementData
protected static OpenPgpContentElementProvider.OpenPgpContentElementData parseOpenPgpContentElementData(XmlPullParser parser, int initialDepth) throws XmlPullParserException, IOException, SmackParsingException, ParseException
-