public class UnresolvedExtensionSelector extends AbstractExtension implements ExtensionSelector
Constructor and Description |
---|
UnresolvedExtensionSelector(byte[] arraybyte,
ExtensionSelectorType type)
Creates a new unresolved extension selector with given data in byte form.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(byte[] data)
Deserialize the extension from a byte array.
|
boolean |
equals(Object obj) |
int |
hashCode() |
byte[] |
serialize()
Serialize the extension to a byte array.
|
String |
toString() |
ExtensionSelectorType |
type()
Gets the type of the extension selector.
|
getProperties, getPropertyValue, setPropertyValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProperties, getPropertyValue, setPropertyValue
public UnresolvedExtensionSelector(byte[] arraybyte, ExtensionSelectorType type)
arraybyte
- byte data for the extension selectortype
- unresolved extension data typepublic byte[] serialize()
Extension
public void deserialize(byte[] data)
Extension
deserialize
in interface Extension
data
- input byte arraypublic ExtensionSelectorType type()
ExtensionSelector
type
in interface ExtensionSelector