Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.controls
Interface ControlDecoder<C extends Control>

Type Parameters:
C - The type of control decoded by this control decoder.

public interface ControlDecoder<C extends Control>

A factory interface for decoding a control as a control of specific type.


Method Summary
 C decodeControl(Control control)
          Decodes the provided control as a Control of type C.
 java.lang.String getOID()
          Returns the numeric OID associated with this control decoder.

 

Method Detail

decodeControl

C decodeControl(Control control)
                                throws PluginException
Decodes the provided control as a Control of type C.
Parameters:
control - The control to be decoded.
Returns:
The decoded control.
Throws:
PluginException - If the control contained the wrong OID, it did not have a value, or if its value could not be decoded.

getOID

java.lang.String getOID()
Returns the numeric OID associated with this control decoder.
Returns:
The numeric OID associated with this control decoder.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.