Package org.igniterealtime.jbosh
Class AttrRequests
- java.lang.Object
-
- org.igniterealtime.jbosh.AbstractAttr<java.lang.Integer>
-
- org.igniterealtime.jbosh.AbstractIntegerAttr
-
- org.igniterealtime.jbosh.AttrRequests
-
- All Implemented Interfaces:
java.lang.Comparable
final class AttrRequests extends AbstractIntegerAttr
Data type representing the value of therequestsattribute of theboshelement.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAttrRequests(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 AttrRequestscreateFromString(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
-
AttrRequests
private AttrRequests(java.lang.String val) throws BOSHExceptionCreates a new attribute object.- Parameters:
val- attribute value- Throws:
BOSHException- on parse or validation failure
-
-
Method Detail
-
createFromString
static AttrRequests 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
nullif input string isnull - Throws:
BOSHException- on parse or validation failure
-
-