Class OpenPgpContentElementProvider<O extends OpenPgpContentElement>
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<EE>
-
- 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>
AbstractExtensionElementProvider
implementation for the also abstractOpenPgpContentElement
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
OpenPgpContentElementProvider.OpenPgpContentElementData
-
Constructor Summary
Constructors Constructor Description OpenPgpContentElementProvider()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract O
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
static OpenPgpContentElement
parseOpenPgpContentElement(java.lang.String element)
static OpenPgpContentElement
parseOpenPgpContentElement(XmlPullParser parser)
protected static OpenPgpContentElementProvider.OpenPgpContentElementData
parseOpenPgpContentElementData(XmlPullParser parser, int initialDepth)
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
OpenPgpContentElementProvider
public OpenPgpContentElementProvider()
-
-
Method Detail
-
parseOpenPgpContentElement
public static OpenPgpContentElement parseOpenPgpContentElement(java.lang.String element) throws XmlPullParserException, java.io.IOException
- Throws:
XmlPullParserException
java.io.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, java.io.IOException, SmackParsingException
- Specified by:
parse
in classProvider<O extends OpenPgpContentElement>
- Throws:
XmlPullParserException
java.io.IOException
SmackParsingException
-
parseOpenPgpContentElementData
protected static OpenPgpContentElementProvider.OpenPgpContentElementData parseOpenPgpContentElementData(XmlPullParser parser, int initialDepth) throws XmlPullParserException, java.io.IOException, SmackParsingException
- Throws:
XmlPullParserException
java.io.IOException
SmackParsingException
-
-