Package org.htmlunit.corejs.javascript
Class UniqueTag
- java.lang.Object
-
- org.htmlunit.corejs.javascript.UniqueTag
-
- All Implemented Interfaces:
java.io.Serializable
public final class UniqueTag extends java.lang.Object implements java.io.Serializable
Class instances represent serializable tags to mark special Object values.Compatibility note: under jdk 1.1 use org.htmlunit.corejs.javascript.serialize.ScriptableInputStream to read serialized instances of UniqueTag as under this JDK version the default ObjectInputStream would not restore them correctly as it lacks support for readResolve method
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static UniqueTag
DOUBLE_MARK
Tag to indicate that a object represents "double" with the real value stored somewhere else.private static int
ID_DOUBLE_MARK
private static int
ID_NOT_FOUND
private static int
ID_NULL_VALUE
static UniqueTag
NOT_FOUND
Tag to mark non-existing values.static UniqueTag
NULL_VALUE
Tag to distinguish between uninitialized and null values.private static long
serialVersionUID
private int
tagId
-
Constructor Summary
Constructors Modifier Constructor Description private
UniqueTag(int tagId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
readResolve()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ID_NOT_FOUND
private static final int ID_NOT_FOUND
- See Also:
- Constant Field Values
-
ID_NULL_VALUE
private static final int ID_NULL_VALUE
- See Also:
- Constant Field Values
-
ID_DOUBLE_MARK
private static final int ID_DOUBLE_MARK
- See Also:
- Constant Field Values
-
NOT_FOUND
public static final UniqueTag NOT_FOUND
Tag to mark non-existing values.
-
NULL_VALUE
public static final UniqueTag NULL_VALUE
Tag to distinguish between uninitialized and null values.
-
DOUBLE_MARK
public static final UniqueTag DOUBLE_MARK
Tag to indicate that a object represents "double" with the real value stored somewhere else.
-
tagId
private final int tagId
-
-