org.apache.directory.shared.ldap.ldif
Class LdifControl

java.lang.Object
  extended by org.apache.directory.shared.asn1.AbstractAsn1Object
      extended by org.apache.directory.shared.ldap.codec.controls.AbstractControl
          extended by org.apache.directory.shared.ldap.ldif.LdifControl
All Implemented Interfaces:
Asn1Object, CodecControl, Control

public class LdifControl
extends AbstractControl

The LdifControl class stores a control defined for an entry found in a ldif file.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
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
LdifControl(java.lang.String oid)
          Create a new Control
 
Method Summary
 java.lang.String toString()
          Return a String representing a Control
 
Methods inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl
computeLength, computeLength, encode, getDecoder, getOid, getValue, 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
 

Constructor Detail

LdifControl

public LdifControl(java.lang.String oid)
Create a new Control

Parameters:
oid - OID of the created control
Method Detail

toString

public java.lang.String toString()
Description copied from class: AbstractControl
Return a String representing a Control

Overrides:
toString in class AbstractControl


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.