Class AttrRequests

All Implemented Interfaces:
Comparable

final class AttrRequests extends AbstractIntegerAttr
Data type representing the value of the requests attribute of the bosh element.
  • Constructor Details

    • AttrRequests

      private AttrRequests(String val) throws BOSHException
      Creates a new attribute object.
      Parameters:
      val - attribute value
      Throws:
      BOSHException - on parse or validation failure
  • Method Details

    • createFromString

      static AttrRequests createFromString(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 is null
      Throws:
      BOSHException - on parse or validation failure