org.apache.directory.api.ldap.codec.actions.ldapResult
Class AddReferral

java.lang.Object
  extended by org.apache.directory.api.asn1.ber.grammar.GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>
      extended by org.apache.directory.api.ldap.codec.actions.ldapResult.AddReferral
All Implemented Interfaces:
Action<LdapMessageContainer<MessageDecorator<? extends Message>>>

public class AddReferral
extends GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>

The action used to add a referral to a LdapTresult

 Referral ::= SEQUENCE SIZE (1..MAX) OF uri URI (RFC 4511)
 URI ::= LDAPString
 

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
AddReferral()
          Instantiates a new referral action.
 
Method Summary
 void action(LdapMessageContainer<MessageDecorator<? extends Message>> container)
          The action to be executed.
 
Methods inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddReferral

public AddReferral()
Instantiates a new referral action.

Method Detail

action

public void action(LdapMessageContainer<MessageDecorator<? extends Message>> container)
            throws DecoderException
The action to be executed.

Parameters:
container - The container which stores the current data
Throws:
DecoderException - Thrown if something went wrong.


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