|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.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| Constructor Summary | |
HexValue(Syntax syntax,
byte[] byteArray)
Constructor that uses a byte array. |
|
| Method Summary | |
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 |
clone,
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 byte[] getValue()
The byte array returned is copied from the internal byte array thus keeping this value immutable.
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||