|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.ldif.LdifControl
public class LdifControl
The LdifControl class stores a control defined for an entry found in a ldif file.
| Field Summary |
|---|
| Fields inherited from interface javax.naming.ldap.Control |
|---|
CRITICAL, NONCRITICAL |
| Constructor Summary | |
|---|---|
LdifControl(OID oid)
Create a new Control |
|
| Method Summary | |
|---|---|
byte[] |
getEncodedValue()
Returns the BER encoded value of the control |
java.lang.String |
getID()
Return the control's OID as a String |
boolean |
isCritical()
Returns the criticality of the current control |
void |
setCriticality(boolean criticality)
Set the criticality |
void |
setOid(OID oid)
Set the control's OID |
void |
setValue(byte[] value)
Set the BER encoded value of the control |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdifControl(OID oid)
oid - OID of the created control| Method Detail |
|---|
public boolean isCritical()
isCritical in interface javax.naming.ldap.Controltrue if the control is criticalpublic void setCriticality(boolean criticality)
criticality - True or false.public java.lang.String getID()
getID in interface javax.naming.ldap.Controlpublic void setOid(OID oid)
oid - The control's OIDpublic byte[] getEncodedValue()
getEncodedValue in interface javax.naming.ldap.Controlpublic void setValue(byte[] value)
value - BER encodec valuepublic 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 | |||||||||