public class OctetsValue extends AttributeValue
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
byteValue |
protected int |
byteValueLength |
protected int |
byteValueOffset |
| Constructor and Description |
|---|
OctetsValue() |
OctetsValue(byte[] b) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(AttributeValue value) |
void |
getBytes(ByteBuffer buffer) |
void |
getBytes(ByteBuffer buffer,
int off,
int len)
The values of valueOffset and valueLength are only used by some value types, for others
they are will always be the same or meaningless.
|
void |
getBytes(OutputStream out) |
int |
getLength() |
Serializable |
getValueObject() |
void |
setValue(byte[] b) |
void |
setValue(byte[] b,
int off,
int len) |
void |
setValueObject(Serializable o) |
String |
toDebugString() |
String |
toString() |
getBytes, setValue, toXMLStringprotected byte[] byteValue
protected int byteValueOffset
protected int byteValueLength
public void copy(AttributeValue value)
copy in class AttributeValuepublic void getBytes(OutputStream out) throws IOException
getBytes in class AttributeValueIOExceptionpublic void getBytes(ByteBuffer buffer)
getBytes in class AttributeValuepublic void getBytes(ByteBuffer buffer, int off, int len)
AttributeValuegetBytes in class AttributeValuepublic int getLength()
getLength in class AttributeValuepublic void setValue(byte[] b)
setValue in class AttributeValuepublic void setValue(byte[] b,
int off,
int len)
setValue in class AttributeValuepublic String toDebugString()
toDebugString in class AttributeValuepublic String toString()
toString in class AttributeValuepublic Serializable getValueObject()
getValueObject in class AttributeValuepublic void setValueObject(Serializable o)
setValueObject in class AttributeValueCopyright © 2017. All rights reserved.