Package org.igniterealtime.jbosh
Class AttrAck
- java.lang.Object
-
- org.igniterealtime.jbosh.AbstractAttr<java.lang.String>
-
- org.igniterealtime.jbosh.AttrAck
-
- All Implemented Interfaces:
java.lang.Comparable
final class AttrAck extends AbstractAttr<java.lang.String>
Data type representing the getValue of theack
attribute of thebosh
element.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AttrAck(java.lang.String val)
Creates a new attribute object.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static AttrAck
createFromString(java.lang.String str)
Creates a new attribute instance from the provided String.
-
-
-
Constructor Detail
-
AttrAck
private AttrAck(java.lang.String val) throws BOSHException
Creates a new attribute object.- Parameters:
val
- attribute getValue- Throws:
BOSHException
- on parse or validation failure
-
-
Method Detail
-
createFromString
static AttrAck createFromString(java.lang.String str) throws BOSHException
Creates a new attribute instance from the provided String.- Parameters:
str
- string representation of the attribute- Returns:
- attribute instance or
null
if provided string isnull
- Throws:
BOSHException
- on parse or validation failure
-
-