|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.ValueComponent
com.novell.admin.ns.Value
com.novell.admin.ns.HexValue
Storage class for all syntaxes that use byte[] types.
This is an immutable class.
BooleanValue,
StringValue,
LongValue,
StreamValue,
Serialized Form| Constructor Summary | |
HexValue(Syntax syntax,
byte[] byteArray)
Constructor that uses a byte array. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates an exact duplicate of this object. |
int |
getLength()
Returns the length of the byte[] that currently comprises the hex value. |
byte[] |
getValue()
Returns the value as a byte array. |
| Methods inherited from class com.novell.admin.ns.ValueComponent |
compareTo, equals, getSyntax, isWithinBounds, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HexValue(Syntax syntax,
byte[] byteArray)
This should only be called by a syntax strategy for data types that use byte arrays to store their data.
syntax - Associated syntax.byteArray - A byte array.| Method Detail |
public java.lang.Object clone()
clone in class Valuepublic int getLength()
public byte[] getValue()
The byte array returned is copied from the internal byte array thus keeping this value immutable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||