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

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
      extended by org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncModifyDnGrammar
All Implemented Interfaces:
Grammar

public final class SyncModifyDnGrammar
extends AbstractGrammar

This class implements the SyncModifyDnControl. All the actions are declared in this class. As it is a singleton, these declaration are only done once. The decoded grammar is the following : syncmodifyDnControl ::= SEQUENCE { entry-name LDAPDN, Operation } Operation ::= CHOICE { move-name [0] LDAPDN, rename [1] Rename, move-and-rename [2] MoveAndRename } Rename SEQUENCE { new-rdn Rdn, delete-old-rdn BOOLEAN } MoveAndRename SEQUENCE { superior-name LDAPDN new-rdn Rdn, delete-old-rdn BOOLEAN }

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
transitions
 
Method Summary
static Grammar getInstance()
          This class is a singleton.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
executeAction, getName, getTransition, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Grammar getInstance()
This class is a singleton.

Returns:
An instance on this grammar


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