Package org.igniterealtime.jbosh
Class AttrInactivity
- java.lang.Object
-
- org.igniterealtime.jbosh.AbstractAttr<java.lang.Integer>
-
- org.igniterealtime.jbosh.AbstractIntegerAttr
-
- org.igniterealtime.jbosh.AttrInactivity
-
- All Implemented Interfaces:
java.lang.Comparable
final class AttrInactivity extends AbstractIntegerAttr
Data type representing the value of theinactivity
attribute of thebosh
element.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AttrInactivity(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 AttrInactivity
createFromString(java.lang.String str)
Creates a new attribute instance from the provided String.-
Methods inherited from class org.igniterealtime.jbosh.AbstractIntegerAttr
checkMinValue, intValue
-
-
-
-
Constructor Detail
-
AttrInactivity
private AttrInactivity(java.lang.String val) throws BOSHException
Creates a new attribute object.- Parameters:
val
- attribute value- Throws:
BOSHException
- on parse or validation failure
-
-
Method Detail
-
createFromString
static AttrInactivity createFromString(java.lang.String str) throws BOSHException
Creates a new attribute instance from the provided String.- Parameters:
str
- string representation of the attribute- Returns:
- instance of the attribute for the specified string, or
null
if input string isnull
- Throws:
BOSHException
- on parse or validation failure
-
-