org.apache.directory.shared.ldap.extras.controls.syncrepl_impl
Class SyncRequestValueContainer

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.AbstractContainer
      extended by org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncRequestValueContainer
All Implemented Interfaces:
Asn1Container

public class SyncRequestValueContainer
extends AbstractContainer

A container for the SyncRequestValue control

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
SyncRequestValueContainer()
          Creates a new SyncRequestValueControlContainer object.
SyncRequestValueContainer(SyncRequestValueDecorator control)
          Creates a new SyncRequestValueControlContainer object.
 
Method Summary
 void clean()
          Clean the container
 SyncRequestValueDecorator getSyncRequestValueControl()
           
 void setSyncRequestValueControl(SyncRequestValueDecorator control)
          Set a SyncRequestValueControl Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodeBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setGathering, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncRequestValueContainer

public SyncRequestValueContainer()
Creates a new SyncRequestValueControlContainer object. We will store one grammar, it's enough ...


SyncRequestValueContainer

public SyncRequestValueContainer(SyncRequestValueDecorator control)
Creates a new SyncRequestValueControlContainer object. We will store one grammar, it's enough ...

Method Detail

getSyncRequestValueControl

public SyncRequestValueDecorator getSyncRequestValueControl()
Returns:
Returns the syncRequestValue control.

setSyncRequestValueControl

public void setSyncRequestValueControl(SyncRequestValueDecorator control)
Set a SyncRequestValueControl Object into the container. It will be completed by the ldapDecoder.

Parameters:
control - the SyncRequestValueControl to set.

clean

public void clean()
Clean the container

Overrides:
clean in class AbstractContainer


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