org.apache.directory.shared.ldap.extras.extended.ads_impl
Class CancelContainer

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

public class CancelContainer
extends AbstractContainer

A container for the Cancel codec.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
CancelContainer()
          Creates a new CancelContainer object.
 
Method Summary
 void clean()
          Clean the container for the next decoding.
 Cancel getCancel()
           
 void setCancel(Cancel cancel)
          Set a Cancel 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

CancelContainer

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

Method Detail

getCancel

public Cancel getCancel()
Returns:
Returns the Cancel object.

setCancel

public void setCancel(Cancel cancel)
Set a Cancel Object into the container. It will be completed by the ldapDecoder.

Parameters:
cancel - the Cancel to set.

clean

public void clean()
Clean the container for the next decoding.

Overrides:
clean in class AbstractContainer


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