public abstract class Value extends ValueComponent implements java.lang.Cloneable, java.io.Serializable
This is an immutable class. All subclasses must be immutable and implement Cloneable, or Clone() will throw an error.
BooleanValue,
LongValue,
HexValue,
StringValue,
StreamValue,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
Value(Syntax syntax)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates an exact duplicate of this Value.
|
abstract java.lang.Object |
getObjectValue()
Returns the value as a native Java Object.
|
compareTo, equals, getSyntax, isWithinBounds, toStringprotected Value(Syntax syntax)
syntax - A specific syntax associated with this value.public abstract java.lang.Object getObjectValue()
The value returned is an instance of one of the following:
Long
Boolean
String
byte[]
Date
InputStream
public java.lang.Object clone()
Although this class does not implement Cloneable, all of its subclasses must implement it. This method ensures that subclasses can implement Cloneable correctly.
clone in class java.lang.Object
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.