|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.controls.AbstractControl
org.apache.directory.shared.ldap.codec.search.controls.subentries.SubentriesControl
public class SubentriesControl
A searchRequest control : Subentries
Field Summary | |
---|---|
static java.lang.String |
CONTROL_OID
Ths control OID |
Fields inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
---|
decoder, value, valueLength |
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
parent |
Constructor Summary | |
---|---|
SubentriesControl()
Default constructor |
Method Summary | |
---|---|
int |
computeLength()
Compute the SubEntryControl length 0x01 0x01 [0x00|0xFF] |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encodes the Subentries control. |
byte[] |
getValue()
Get the control value |
boolean |
isVisible()
Check if the subEntry is visible |
void |
setVisibility(boolean visibility)
Set the visibility flag |
java.lang.String |
toString()
Return a String representing this EntryChangeControl. |
Methods inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
---|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValue |
Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTROL_OID
Constructor Detail |
---|
public SubentriesControl()
Method Detail |
---|
public boolean isVisible()
public void setVisibility(boolean visibility)
visibility
- The visibility flag : true or falsepublic int computeLength()
computeLength
in interface Asn1Object
computeLength
in interface CodecControl
computeLength
in class AbstractControl
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in interface CodecControl
encode
in class AbstractControl
buffer
- The encoded sink
EncoderException
- If anything goes wrong.public byte[] getValue()
getValue
in interface Control
getValue
in class AbstractControl
public java.lang.String toString()
toString
in class AbstractControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |