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(java.lang.Object obj) |
int |
hashCode() |
byte[] |
serialize()
Serialize the extension to a byte array.
|
java.lang.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
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object