public class PresentFilter extends Filter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
attributeDescription
The attribute description.
|
private byte[] |
attributeDescriptionBytes
Temporary storage for attribute description bytes
|
parent, parentTlvId, tlvId| Constructor and Description |
|---|
PresentFilter()
The constructor.
|
PresentFilter(int tlvId)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the PresentFilter length
PresentFilter :
0x87 L1 present
Length(PresentFilter) = Length(0x87) + Length(super.computeLength()) +
super.computeLength()
|
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
java.lang.String |
getAttributeDescription()
Get the attribute
|
void |
setAttributeDescription(java.lang.String attributeDescription)
Set the attributeDescription
|
java.lang.String |
toString()
Return a string compliant with RFC 2254 representing a Present filter
|
getParent, getParentTlvId, getTlvId, setParentprivate java.lang.String attributeDescription
private byte[] attributeDescriptionBytes
public PresentFilter(int tlvId)
public PresentFilter()
public java.lang.String getAttributeDescription()
public void setAttributeDescription(java.lang.String attributeDescription)
attributeDescription - The attributeDescription to set.public int computeLength()
computeLength in class Filterpublic java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in class Filterbuffer - The buffer where to put the PDUEncoderExceptionpublic java.lang.String toString()
toString in class java.lang.Object