|
||||||||||
| 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.search.controls.subEntry.SubEntryControlCodec
public class SubEntryControlCodec
A searchRequest control : SubEntry
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
SubEntryControlCodec()
Default constructor |
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the SubEntryControl length 0x01 0x01 [0x00|0xFF] |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encodes the subEntry control. |
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.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 |
| Constructor Detail |
|---|
public SubEntryControlCodec()
| Method Detail |
|---|
public boolean isVisible()
public void setVisibility(boolean visibility)
visibility - The visibility flag : true or falsepublic int computeLength()
computeLength in interface Asn1ObjectcomputeLength in class AbstractAsn1Object
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in interface Asn1Objectencode in class AbstractAsn1Objectbuffer - The encoded sink
EncoderException - If anything goes wrong.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||