Package org.jivesoftware.smack.packet
Class AbstractError.Builder<B extends AbstractError.Builder<B>>
- java.lang.Object
-
- org.jivesoftware.smack.packet.AbstractError.Builder<B>
-
- Direct Known Subclasses:
StanzaError.Builder
- Enclosing class:
- AbstractError
public abstract static class AbstractError.Builder<B extends AbstractError.Builder<B>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
descriptiveTexts
protected List<XmlElement>
extensions
protected String
textNamespace
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description B
addExtension(XmlElement extension)
protected abstract B
getThis()
B
setDescriptiveEnText(String descriptiveEnText)
B
setDescriptiveEnText(String descriptiveEnText, Exception exception)
B
setDescriptiveTexts(Map<String,String> descriptiveTexts)
B
setExtensions(List<XmlElement> extensions)
B
setTextNamespace(String textNamespace)
-
-
-
Field Detail
-
textNamespace
protected String textNamespace
-
descriptiveTexts
protected Map<String,String> descriptiveTexts
-
extensions
protected List<XmlElement> extensions
-
-
Constructor Detail
-
Builder
public Builder()
-
-
Method Detail
-
setDescriptiveTexts
public B setDescriptiveTexts(Map<String,String> descriptiveTexts)
-
setDescriptiveEnText
public B setDescriptiveEnText(String descriptiveEnText)
-
setDescriptiveEnText
public B setDescriptiveEnText(String descriptiveEnText, Exception exception)
-
setTextNamespace
public B setTextNamespace(String textNamespace)
-
setExtensions
public B setExtensions(List<XmlElement> extensions)
-
addExtension
public B addExtension(XmlElement extension)
-
-