public class PresentFilter extends Filter
parent
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()
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
String |
getAttributeDescription()
Get the attribute
|
void |
setAttributeDescription(String attributeDescription)
Set the attributeDescription
|
String |
toString()
Return a string compliant with RFC 2254 representing a Present filter
|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public PresentFilter(int tlvId)
public PresentFilter()
public String getAttributeDescription()
public void setAttributeDescription(String attributeDescription)
attributeDescription
- The attributeDescription to set.public int computeLength()
computeLength
in interface Asn1Object
computeLength
in class AbstractAsn1Object
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in class AbstractAsn1Object
buffer
- The buffer where to put the PDUEncoderException
- if the buffer can't be encodedCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.