Class PresentFilter

    • Constructor Detail

      • PresentFilter

        public PresentFilter​(int tlvId)
        The constructor.
        Parameters:
        tlvId - The TLV identifier
    • Method Detail

      • setAttributeDescription

        public void setAttributeDescription​(String attributeDescription)
        Set the attributeDescription
        Parameters:
        attributeDescription - The attributeDescription to set.
      • computeLength

        public int computeLength()
        Compute the PresentFilter length
        PresentFilter :
         
         0x87 L1 present
         
         Length(PresentFilter) = Length(0x87) + Length(super.computeLength()) +
              super.computeLength()
         
        Specified by:
        computeLength in class Filter
        Returns:
        The encoded length
      • toString

        public String toString()
        Return a string compliant with RFC 2254 representing a Present filter
        Overrides:
        toString in class Object
        Returns:
        The Present filter string