C
- The Control typepublic abstract class AbstractControlFactory<C extends Control> extends Object implements ControlFactory<C>
Modifier and Type | Method and Description |
---|---|
void |
decodeValue(Control control,
byte[] controlBytes)
Decode a Control's value.
|
void |
decodeValue(ControlContainer container,
Control control,
byte[] controlBytes)
Decode a Control's value.
|
void |
encodeValue(Asn1Buffer buffer,
Control control)
Encode the value part of the control.
|
String |
getOid() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newControl
public String getOid()
getOid
in interface ControlFactory<C extends Control>
public void encodeValue(Asn1Buffer buffer, Control control)
encodeValue
in interface ControlFactory<C extends Control>
buffer
- The buffer into which to put the encoded valuecontrol
- The control to encodepublic void decodeValue(Control control, byte[] controlBytes) throws DecoderException
decodeValue
in interface ControlFactory<C extends Control>
control
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedpublic void decodeValue(ControlContainer container, Control control, byte[] controlBytes) throws DecoderException
decodeValue
in interface ControlFactory<C extends Control>
container
- The Asn1Container containing the control to feedcontrol
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.