Package org.jivesoftware.smack.packet
Class StanzaError.Builder
- java.lang.Object
-
- org.jivesoftware.smack.packet.AbstractError.Builder<StanzaError.Builder>
-
- org.jivesoftware.smack.packet.StanzaError.Builder
-
- Enclosing class:
- StanzaError
public static final class StanzaError.Builder extends AbstractError.Builder<StanzaError.Builder>
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.packet.AbstractError.Builder
descriptiveTexts, extensions, textNamespace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StanzaError
build()
StanzaError.Builder
copyFrom(StanzaError xmppError)
protected StanzaError.Builder
getThis()
StanzaError.Builder
setCondition(StanzaError.Condition condition)
StanzaError.Builder
setConditionText(java.lang.String conditionText)
StanzaError.Builder
setErrorGenerator(java.lang.String errorGenerator)
StanzaError.Builder
setType(StanzaError.Type type)
-
Methods inherited from class org.jivesoftware.smack.packet.AbstractError.Builder
addExtension, setDescriptiveEnText, setDescriptiveEnText, setDescriptiveTexts, setExtensions, setTextNamespace
-
-
-
-
Method Detail
-
setCondition
public StanzaError.Builder setCondition(StanzaError.Condition condition)
-
setType
public StanzaError.Builder setType(StanzaError.Type type)
-
setConditionText
public StanzaError.Builder setConditionText(java.lang.String conditionText)
-
setErrorGenerator
public StanzaError.Builder setErrorGenerator(java.lang.String errorGenerator)
-
copyFrom
public StanzaError.Builder copyFrom(StanzaError xmppError)
-
build
public StanzaError build()
-
getThis
protected StanzaError.Builder getThis()
- Specified by:
getThis
in classAbstractError.Builder<StanzaError.Builder>
-
-